Skip to content

Overwriting Request Body for Contract Tests #503

Closed Answered by thim81
PaulCluver asked this question in Q&A
Discussion options

You must be logged in to vote

hi @PaulCluver

The overwrites have a separate section in the config. Since the overwrites will be applied for all "tests".
Have a look at an example:

https://github.com/apideck-libraries/portman/blob/main/portman-config.example.json

the structure is:

  • tests
    • contractTests
    • contentTests
  • assignVariables
  • overwrites
  • globals

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@PaulCluver
Comment options

@thim81
Comment options

Answer selected by PaulCluver
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants