cancel
Showing results for 
Search instead for 
Did you mean: 

Use property value in request of next request (JSON)

SOLVED
Highlighted
Occasional Contributor

Use property value in request of next request (JSON)

I have some values stored in a properties step.

 

Content of "properties":

ParameterA: Test 1

ParameterB: Test 2

 

 

I want to use the value of "ParameterB" ("Test 2" in this case) as input of my JSON request (value should be used in part of body) of the next rest service call.

 

I have tried this code:

"parameterNewJSONRequest": "${#properties#ParameterB}"

 

Unfortunately my value is not correctly synced.

 

Can someone help me?

 

Thanks in advance!

 

Regards,

Jan

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Occasional Contributor

Re: Use property value in request of next request (JSON)

Question can be closed.  Have found the issue.

 

Should remove the first #character

 

Instead of using "${#properties#ParameterB}", I should use "${properties#ParameterB}"

View solution in original post

1 REPLY 1
Highlighted
Occasional Contributor

Re: Use property value in request of next request (JSON)

Question can be closed.  Have found the issue.

 

Should remove the first #character

 

Instead of using "${#properties#ParameterB}", I should use "${properties#ParameterB}"

View solution in original post

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