Q:

Use CSV file to change URL for web test

In Visual Studio Web test my URL is
https:example//api/{{test1}}/mode/{{test2}}

Here I want to pass values of test1 and test2 from a CSV file.
I tried
https://exampl/api/{{DataSource1.Table5002#csv.objectId}}/mode/{{DataSource1.Table5002#csv.model}}

where in table5002, columns objectId and model are added.
Values from CSV work fine when I use them in string body.
I tried these:

Context parameters, here I can't bind context parameters with datasource.
Tried giving https://exampl/api/{{DataSource1.Table5002#csv.objectId}}/mode/{{DataSource1.Table5002#csv.model}} in URl. This doesn't take values from data source.

Please help me on how to use CSV values in URL.

A:

When i give my URL like this:https://exampl/api/{{DataSource1.Table5002#csv.objectId}}/mode/{{DataSource1.Table5002#csv.model}}, now it is working fine.

