Link to home
Start Free TrialLog in
Avatar of victoriaharry
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.SiteName3}} 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}}/{{SiteName4}}/Forms/AllItems.aspx

Thanks

Gavin
Avatar of Robberbaron (robr)
Robberbaron (robr)
Flag of Australia image

sorry, need to elaborate more on what the parameters are to do.
 (and your test site fails to load for me)
Avatar of victoriaharry
victoriaharry

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.
ASKER CERTIFIED SOLUTION
Avatar of Robberbaron (robr)
Robberbaron (robr)
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial