NaturalIntelligence/Stubmatic

View on GitHub
functional-tests/assets/mappings/skipProcessing.yaml

Summary

Maintainability
Test Coverage
#DONE
-  request:
      url: /stubs/attachment/xml

   response:
      file: "simple.xml"
      headers:
         content-type: application/xml
         Content-Disposition: "attachment; filename=simple.xml"
      skipProcessing: true

#DONE
-  request:
      url: /stubs/skipProcessing/xml

   response:
      file: "simple.xml"
      headers:
         content-type: application/xml
      skipProcessing: true

#DONE
-  request:
      url: /stubs/skipProcessing/not-found

   response:
      strategy: first-found
      files: ["notexist.xml",{"name":"simple.xml","status":200}]
      headers:
         content-type: application/xml
      skipProcessing: true


#DONE
-  request:
      url: /stubs/skipProcessing/pdf

   response:
      file: "StubbyDB_README.pdf"
      headers:
         content-type: application/pdf
      skipProcessing: true

#DONE
-  request:
      url: /stubs/skipProcessing/invalid

   response:
      file: "invalid.pdf"
      headers:
         content-type: application/pdf
      skipProcessing: true

#DONE
-  request:
      url: /stubs/skipProcessing/invalidattr

   response:
      body: "invalid.pdf"
      headers:
         content-type: application/pdf
      skipProcessing: true