2

I have created JMeter HTTP request sampler project using Blazemeter recorder which created Jmx.file I have opened the same in JMeter to modify and fix the errors.

I have more than 100 HTTP requests with Name as https://abc.abc.com/AutoSave/PostSavedData

with Path value as AutoSave/PostSavedData

if I change the Path value to PostSavedData then this HTTP request show as Pass.

How do I change all HTTP requests path to PostSavedData without manually changing path for each HTTP Request?

Ori Marko
  • 56,308
  • 23
  • 131
  • 233
Rohit A
  • 23
  • 4

3 Answers3

0

Click Ctrl+F (Search) write what you want to replace in Search:

and replacement in Replace by:

and click Replace All

This is part of JMeter 5 changes:

Search feature has been improved to allow you to iterate in the tree over search results and do necessary replacements through Next/Previous/Replace/Replace/Find buttons

Community
  • 1
  • 1
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
0

Open the .JMX file in Notepad++ and replace "AutoSave/PostSavedData" with "PostSavedData". :)

Rahul
  • 306
  • 2
  • 4
  • This method works if there is no option on UI to search and replace. Enjoy load testing. ;) – Rahul Dec 05 '18 at 08:40
0

From Jmeter 5 onwards you can press 'Cntrl + F' and then just replace the older string with the new one. Happy Load testing !!

Satyajit
  • 152
  • 10