I am testing an application locally and on remote machines using web tests in visual studio 2015.(2 weeks of experience with testing in visual studio) It worked fine for the local machine. But now I am hosting the application on Azure and I need to parameterize the URLs for all the tests. In other words, I need to change the Url value inside the xml from "http://localhost:23405/create" to "http://something.cloudapp.azure.com:23405/create" What's the best way to do this?
Parameterize the Url strings during webtests
268 Views Asked by kumar At
1
There are 1 best solutions below
Related Questions in C#
- google vizualization wrong number format
- Google stacked column chart -how to create required json from mysql query results
- How to add the data from html tag on "Google Chart" arrayToDataTable? using javascript
- Adding value in Google Charts
- Is it possible to re-skin a Google Chart?
- Cant add the value on select tag using onclick function to google chart datatable
- Get Image value on source page using Python or Js
- Shows only the first option value from<select> in google chart
- google chart animation doesn't work
- JSPDF - Appending image and HTML table to the same pdf file
Related Questions in VISUAL-STUDIO-2015
- google vizualization wrong number format
- Google stacked column chart -how to create required json from mysql query results
- How to add the data from html tag on "Google Chart" arrayToDataTable? using javascript
- Adding value in Google Charts
- Is it possible to re-skin a Google Chart?
- Cant add the value on select tag using onclick function to google chart datatable
- Get Image value on source page using Python or Js
- Shows only the first option value from<select> in google chart
- google chart animation doesn't work
- JSPDF - Appending image and HTML table to the same pdf file
Related Questions in PERFORMANCE-TESTING
- google vizualization wrong number format
- Google stacked column chart -how to create required json from mysql query results
- How to add the data from html tag on "Google Chart" arrayToDataTable? using javascript
- Adding value in Google Charts
- Is it possible to re-skin a Google Chart?
- Cant add the value on select tag using onclick function to google chart datatable
- Get Image value on source page using Python or Js
- Shows only the first option value from<select> in google chart
- google chart animation doesn't work
- JSPDF - Appending image and HTML table to the same pdf file
Related Questions in LOAD-TESTING
- google vizualization wrong number format
- Google stacked column chart -how to create required json from mysql query results
- How to add the data from html tag on "Google Chart" arrayToDataTable? using javascript
- Adding value in Google Charts
- Is it possible to re-skin a Google Chart?
- Cant add the value on select tag using onclick function to google chart datatable
- Get Image value on source page using Python or Js
- Shows only the first option value from<select> in google chart
- google chart animation doesn't work
- JSPDF - Appending image and HTML table to the same pdf file
Related Questions in WEB-PERFORMANCE
- google vizualization wrong number format
- Google stacked column chart -how to create required json from mysql query results
- How to add the data from html tag on "Google Chart" arrayToDataTable? using javascript
- Adding value in Google Charts
- Is it possible to re-skin a Google Chart?
- Cant add the value on select tag using onclick function to google chart datatable
- Get Image value on source page using Python or Js
- Shows only the first option value from<select> in google chart
- google chart animation doesn't work
- JSPDF - Appending image and HTML table to the same pdf file
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
One of the command icon with the web test editor is "Parameterize web servers". This changes the URLs in the requests to use context parameters. So a URL like
http://localhost:23405/create
is changed to something like{{webserver1}}/create
plus the context parameterwebserver1
is created and set tohttp://localhost:23405
. The namewebserver1
can be altered when the command is used. The value of the context parameter can then be altered to change the test to use another URL.Unfortunately the command does not find all uses of the URL. Some URLs, such as those in
StringBody
and similar fields are missed. Some URLs are encoded in other fields (eg the characters\
and:
are replaced by their hex codes) and they may be missed.