Forum Discussion
kristoffer
12 years agoNew Contributor
So I found a workaround; or maybe i found the way "it's supposed to be done".
I'm no longer trying to set the property on the REST request-step by pasting "${#AvailableDates#month}" as the value.
Instead I inserted a Property Transfer step before the REST request-step where i chose the Test Case/Amount property as source, and the REST Request/Amount property as destination.
Obviously i didn't spend much time with SoapUI yet and i get the feeling there's a lot more ways to set property values; and maybe there is no such thing as "the way it's supposed to be done".
I still feel it would be intuitive to just paste "${#AvailableDates#month}" into the property value. And I also have the feeling it "kind of" worked the way i wanted it to first. You see, the request did not include the textual string "${#AvailableDates#month}" in the month argument; it was replaced with an empty string. So something did see that i wanted to resolve a value; however it only resolved to an empty string.
Anyone have a clue if it could work the way i tried in the first post?
I'm no longer trying to set the property on the REST request-step by pasting "${#AvailableDates#month}" as the value.
Instead I inserted a Property Transfer step before the REST request-step where i chose the Test Case/Amount property as source, and the REST Request/Amount property as destination.
Obviously i didn't spend much time with SoapUI yet and i get the feeling there's a lot more ways to set property values; and maybe there is no such thing as "the way it's supposed to be done".
I still feel it would be intuitive to just paste "${#AvailableDates#month}" into the property value. And I also have the feeling it "kind of" worked the way i wanted it to first. You see, the request did not include the textual string "${#AvailableDates#month}" in the month argument; it was replaced with an empty string. So something did see that i wanted to resolve a value; however it only resolved to an empty string.
Anyone have a clue if it could work the way i tried in the first post?