Forum Discussion

Lifeguard's avatar
Lifeguard
Occasional Contributor
13 years ago

Dynamic URL parameters

Hello


I'm dealing with a webservice made with http requests and json response. The basic URL is like the following one :

http://service_name/<shop>/<device>/<lang>/status?ip=<ip>&email=<email>&password=<password>


Well, I'm trying to make a web test case with dynamic properties in order to be able to change <shop>, <device> and <lang> just modifying the values in this file. The question is how to transfer them to an http request. Is not just a "dynamic endpoint" because there are several combinations between the different <shop>, <device> and <lang> values. I tried the following :

Created a "Properties Step" with "shop" and "device" properties.
Created a "http method"
1. Setting up a "Properties transfer" Transfering each "Shop" / "device" / "lang" from "properties step" to "http method" - "request"
2. Setting up a "Properties transfer" Transfering each "Shop" / "device" / "lang" from "properties step" to "http method" properties - "shop" // "device" // "lang"


No results : just disaster.
¿Any ideas?

Thanks in advance!
No RepliesBe the first to reply