Skip to content

Instantly share code, notes, and snippets.

@chelmertz
Created October 19, 2011 11:14
Show Gist options
  • Save chelmertz/1298001 to your computer and use it in GitHub Desktop.
Save chelmertz/1298001 to your computer and use it in GitHub Desktop.
Webinject testcase
<testcases repeat="1">
<testvar varname="SEARCH_TERM">Wolksvagen</testvar>
<case
id="1"
description1="Find information about ${SEARCH_TERM}"
method="get"
verifyresponsecode="200"
url="http://www.google.se/m?dc=gorganic&source=mobileproducts&q=${SEARCH_TERM}"
parseresponse='u=|"'
/>
<case
id="2"
description1="We should be able to follow the first link for googling ${SEARCH_TERM}"
method="get"
url="{PARSEDRESULT}"
/>
</testcases>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment