0

How can I insert this collection of objects into a single value? (for a POST request)

"data": {
    "Idtest": 1,
    "Nametest": "test",
    "OBJECT" : {
                  "ID":1,
                   "NameTest": "BLA"
                }
  }
  • The parameter is: OBJECT.
  • And I want to insert in a value field this collection: {"ID":1, "NameTest": "BLA" }

Is this step possible in SOAPUI?

1

1 Answer 1

0

I think it should help you, use a external source like CSV file in your SoapUI script and pass the required value as a variable from CSV file to your script, in this way what ever is there in your CSV file it will get passed as value in your script (i.e. in your script variable will be replaced with the value) during execution.

Refer this link for more details on How to use external source in SoapUI

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.