cancel
Showing results for 
Search instead for 
Did you mean: 

Parametizing Request in SOAP UI

Highlighted
Contributor

Parametizing Request in SOAP UI

Hi,

 

Thanks for helping me. I would need to parametize the value for transactionkey as it will be generated from "Start Transation to delete token" test and will need to be passed to the arrowed field. Im not sure how to do this. It would be appreciated if someone kindly help me out on this. 

 

Thanks heaps.

Sudha

2 REPLIES 2
Highlighted
Community Hero

Re: Parametizing Request in SOAP UI

Hi,

 

So - you have a QUERY parm entitled transactionkey and you need the value?  Is this being generated from the 'Transaction Key' step at the start of the test?

 

You need to do a Property Transfer from this step, grabbing the transactionkey value from, I'm guessing the response of the initial step to pass the value onto the QUERY parm of the test step youre talking about.

 

Within your QUERY parm you would insert something like '${transactionkey#value}'

 

Have a look at the followings and come back if you still need help

 

https://www.soapui.org/docs/functional-testing/properties/transferring-properties/

https://www.soapui.org/docs/functional-testing/teststep-reference/property-transfers/

https://www.tutorialspoint.com/soapui/soapui_property_transfer.htm

 

 

cheers,

 

rich

 

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Highlighted
Contributor

Re: Parametizing Request in SOAP UI

Hi Richie,

 

Thank you for helping me. I have found out the way. I had to use ${DeleteTransactionKey#DeleteTransactionKey} at the Parameters section on the request as shown in the image.

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