?
Solved

JMeter

Posted on 2014-03-07
3
Medium Priority
?
220 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

777 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