Forum Discussion

Yuliya's avatar
Yuliya
New Contributor
7 years ago
Solved

JSON request parametrization

Hi,

 

I have a post request with json body which have to be parametrized:

{"Uid": "${Uid}", "CorrelationID": "${CorrelationID}",

where Uid and CorrelationID are values that I need to run in loop from file.

Here I find solutions for Groovy script. Is this the only way to parametrize values? I see Parameters Table, can I use it somehow?

Thank you!

  • Hello there, are you using soapui OS or pro version?

    Looping through values means data driven tests. Pro version gives you advantage here with its point and click DDT feature.

    Data driving could be achievable in open source via groovy. 

2 Replies

  • New2API's avatar
    New2API
    Frequent Contributor

    Hello there, are you using soapui OS or pro version?

    Looping through values means data driven tests. Pro version gives you advantage here with its point and click DDT feature.

    Data driving could be achievable in open source via groovy. 

    • Yuliya's avatar
      Yuliya
      New Contributor
      Hello, OS version. Thank you for your answer.