Forum Discussion

tsjakamaka's avatar
tsjakamaka
Occasional Contributor
4 years ago
Solved

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

  • Question can be closed.  Have found the issue.

     

    Should remove the first #character

     

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

1 Reply

  • tsjakamaka's avatar
    tsjakamaka
    Occasional Contributor

    Question can be closed.  Have found the issue.

     

    Should remove the first #character

     

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