Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am a JMeter new user. I have the following scenario - To search for a Name in search text box. Parameterized the Name in CSV. But while searching instead of entire name being passed as parameter i.e. ${Name}, I need to pass each character of ${Name} to individual HTTP Request, say for request 1, parameter is N, Request 2 - Parameter a and so on and the search result is displayed for the last request when N, a, m, e have all been passed. How do i handle this using Jmeter?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
295 views
Welcome To Ask or Share your Answers For Others

1 Answer

If you need to send multiple request then in the csv, give the input field as required.

Example:-

1st Cell:-N

2nd Cell:-Na

etc

But, check if there is a request being send for every word you type in the field to the server using fiddler or any other sniffing tool. If yes, then use the above approach. Also, you can try using jmeter recording for the scenerio.

If, not then you need to have one request which is sending the full variable i.e. Name.

Hope this helps.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...