cancel
Showing results for 
Search instead for 
Did you mean: 

How to read test case custom properties value in query parameter in SOUPUI.

SOLVED
Srivats
Visitor

How to read test case custom properties value in query parameter in SOUPUI.

In Test Case Custom Properties I have Field "Id" with Value "AGSKH152639RFA".

 

In SOUPUI when whn we are preparing request if we select Style as template then we can read Test case Custom Properties Value by using ${#TestCase#Id}.

 

But when we  select Style as Query In that Case Id is not replaced with stored value it is printing as it is ${#TestCase#Id}.

 

My question is how can we read custom properties value in query parameter?

Note:-

I dont want to do manually like copy the value from custom properties field and paste in query parameter because here every time new id will generate.

here i am reading Id value from another response and stored in testcase custom properties and passing this Id in another request.

 

1 ACCEPTED SOLUTION

Accepted Solutions
nmrao
Community Hero

Re: How to read test case custom properties value in query parameter in SOUPUI.

1 REPLY 1
nmrao
Community Hero

Re: How to read test case custom properties value in query parameter in SOUPUI.

New Here?
Join us and watch the welcome video:
Top Kudoed Authors