cancel
Showing results for 
Search instead for 
Did you mean: 

Ready API - Writing the output to datasink in the same excel file

SOLVED
Frequent Contributor

Re: Ready API - Writing the output to datasink in the same excel file

Thanks. 

 

I wanted to know that if I have 2 values coming from the variables. How can I combined 2 values with a delimeter as "-" in the soap request.

 

For example: I am having unique number coming from the DataSource and another value coming from the groovy script. I need combined both the values with "-"

 

To elaborate further, this is for the customerPO in the header section of my soapui request. I looks like this in the customerPoNode in the soap request

 

customerPO>${DataSource#customerPO}${=testRunner.testCase.testSteps['DataSource'].currentRow}</customerPO>

 

 

I will get a unique number from ${DataSource#customerPO} and then wants to add "-" and then ${=testRunner.testCase.testSteps['DataSource'].currentRow}

 

I am not aware how add "-" in between this 2 values in the soapui request

 

Community Hero

Re: Ready API - Writing the output to datasink in the same excel file

Smiley LOL

 

Like this... ?

 

<customerPO>${DataSource#customerPO}-${=testRunner.testCase.testSteps['DataSource'].currentRow}</customerPO>


If my answer helped please click on the 'Accept as Solution' button.

View solution in original post

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