Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

We have a page which does a database search based on a name parameter. Can we test this with JBlitz ?

0
Posted

We have a page which does a database search based on a name parameter. Can we test this with JBlitz ?

0

Yes. JBlitz could be used to effectively test that page. For example, if your page was called ‘dblookup.jsp’ and accepted a parameter with the name ‘search_term’, then you might specify the web page in JBlitz like this: /dblookup.jsp?search_term=%s Here, the ‘%s’ in the name-value value is dynamically substituted with a random string on each request of that page. The substitution is described here. As an additional example, say you had another parameter called ‘category’ which used values such as ‘cat0’, ‘cat1’ etc to specify the search category. You could test this page by specifying something like this: /dblookup.jsp?search_term=%s&category=cat%j Here the search term is randomly generated and the category is randomly switched between ‘cat0’, ‘cat1’ etc (%j chooses a number between 0 and 9 inclusive). More information on how to dynamically alter you query string is given here.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123