Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

JMeter

Posted on 2014-03-07
3
Medium Priority
?
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

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 36

Accepted Solution

by:
mccarl earned 2000 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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

598 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