If you often need to use JMeter's recording proxy you can save your time by using templates for HTTP request filtering. Just add HTTP Proxy Server element to Workbench, than add regular expressions for URLs of your site like www\.example\.com.* to "URL Patterns to Include" list, add regular expressions for exclusion of some static HTTP requests like .*\.css$ to "URL Patterns to Exclude" list and save this template using "Save Selection As..." item of HTTP Proxy Server's context menu.
Next time you can just open this file in JMeter and you will have ready for work recording proxy.
Showing posts with label recording proxy. Show all posts
Showing posts with label recording proxy. Show all posts
Tuesday, March 23, 2010
Thursday, December 31, 2009
Tip #1: How to record HTTPS requests by JMeter's recording proxy
If you ever tried to record HTTPS requests by the recording proxy of the lastest stable version of JMeter (2.3.4) you know that it's impossible. And HTTPS spoofing option can not help in the most cases.
I investigated this problem and found interesting thing. There is already a bug 47622 in JMeter's Bugzilla that already has RESOLVED FIXED status. Some guys added a patch and fake SSL certificate to JMeter so it allows to record HTTPS requests now. But you must use developer (nightly) build instead of stable release until this bugfix is added to next stable release.
I investigated this problem and found interesting thing. There is already a bug 47622 in JMeter's Bugzilla that already has RESOLVED FIXED status. Some guys added a patch and fake SSL certificate to JMeter so it allows to record HTTPS requests now. But you must use developer (nightly) build instead of stable release until this bugfix is added to next stable release.
Subscribe to:
Posts (Atom)
