NaturalIntelligence/Stubmatic

View on GitHub
functional-tests/assets/config.json

Summary

Maintainability
Test Coverage
{
  "datatables": "datatables/",
  "mappings": {
    "loadFromRecording": true,
    "default": {
      "request": {
        "method": "GET"
      },
      "response": {
        "strategy": "first-found",
        "latency": 0,
        "status": 200
      }
    },
    "files": ["mappings/response.yaml"
                ,"mappings/headers.yml"
                , "mappings/files.yaml"
                , "mappings/dumps.yaml"
                , "mappings/invalid.yaml"
                , "mappings/empty.yml"
                , "mappings/post.yaml"
                , "mappings/dbset.yaml"
                , "mappings/dbset2.yaml"
                , "mappings/proxy.yaml"
                , "mappings/skipProcessing.yaml"
                , "mappings/cookie.yaml"
                , "mappings/queryparam.yaml"
                , "mappings/notFound.yaml"
                , "mappings/parser.yaml"]
  },
  "server": {
    "port": 9999
    ,"securePort" : 8000
    ,"mutualSSL" : true
    ,"ca" : ["truststore/ca/ca.crt"]
    ,"key" : "truststore/server.key"
    ,"cert" : "truststore/server.crt"
  },
  "stubs": "stubs/",
  "logs": {
    "path": "logs/"
  },
  "dumps": "dumps/",
  "recordAndPlay" : {
    "mapping": {
      "headers" : true,
      "queryParam" : true,
      "hashStrig" : true,
      "skipHeaders" : []
    }
  }
}