victoriaharry
asked on
Visual Studio - Data binding Context Parameters
Hi Experts,
I'm creating a web test for a sharepoint site which navigates around the different doc libraries. There are three context parameters which need to be aligned which are SiteName2, SiteName3 and SiteName4. I was thinking of having all the values for these parameters as lines in a csv file or some other dataSource and then read a line at time so the values all match. I tried adding the code {{DocLibraries.DocLibaries #csv.SiteN ame3}} in the value for the context parameter but it displays exactly as it is written in the request and does not grab the value from the csv file. Just wondering if this can be done and if there is a better way to read multiple values from a datasource which are dependent on each other.
Example request is below
http://collaborate.sptest.nonprod.protected.ind/{{SiteName2}}/{{SiteName3} }/{{SiteNa me4}}/Form s/AllItems .aspx
Thanks
Gavin
I'm creating a web test for a sharepoint site which navigates around the different doc libraries. There are three context parameters which need to be aligned which are SiteName2, SiteName3 and SiteName4. I was thinking of having all the values for these parameters as lines in a csv file or some other dataSource and then read a line at time so the values all match. I tried adding the code {{DocLibraries.DocLibaries
Example request is below
http://collaborate.sptest.nonprod.protected.ind/{{SiteName2}}/{{SiteName3}
Thanks
Gavin
ASKER
Hi,
The parameters when used together make up the URL for the request. I need to read these 3 values from a line in a CSV file and could see know way to do this within a web performance test. I know I can add a csv data source but I cannot link the context parameters to the data source.
The parameters when used together make up the URL for the request. I need to read these 3 values from a line in a CSV file and could see know way to do this within a web performance test. I know I can add a csv data source but I cannot link the context parameters to the data source.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(and your test site fails to load for me)