Page tree
Skip to end of metadata
Go to start of metadata

To specify JSON payload or multi level parameters, follow the below steps:

  1. First specify a header of "Content-Type" of appropriate value in "Request" >> "Headers" sub-tab for a test case if the request body format is other than JSON / XML.
  2. Then specify the request payload (either json or xml or any other type) in "Raw Body" sub-tab. Please find below few sample screenshots for setting the request body.

Examples:

  1. Setting request body as JSON array

  2. Setting request body as JSON object
     
  • No labels