Solved

JMeter

Posted on 2014-03-07
3
201 Views
Last Modified: 2014-03-24
I am using JMeter and wonder how I can create asserts on the contetns of the reply dependent on what I send. How do I do that?
0
Comment
Question by:mdoland
  • 2
3 Comments
 
LVL 35

Expert Comment

by:mccarl
ID: 39915337
Can you provide more information please?
0
 

Author Comment

by:mdoland
ID: 39917064
What I mean is that if I have 100 different type of submit data that can go with the call I do, I would like to make asserts on each of the to see that they provide the correct return data.

Right now I can only do asserts per transaction type, but I don't know how to do it if I want to send different data on the same transaction type:

HowManyLegsHasA(Cat) -> 4
HowManyLegsHasA(Dog) -> 4
HowManyLegsHasA(Fish) -> 0
HowManyLegsHasA(Human) -> 2
HowManyLegsHasA(Centipede) -> 86...
0
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 39919109
How do you send the different "submit data" with the different calls? Just to get an idea of what is going on, can you show us your test plan?
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now