Search code examples
jmeterjmeter-pluginsjmeter-3.2jmeter-5.0

How to change HTTP Request Path for multiple HTTP Requests at once in Jmeter


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?


Solution

  • 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