JMeter

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?
mdolandAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
mccarlConnect With a Mentor IT Business Systems Analyst / Software DeveloperCommented:
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
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
Can you provide more information please?
0
 
mdolandAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.