alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

JMeter example source code file (ConvertHTTPSampler.txt)

This example JMeter source code file (ConvertHTTPSampler.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - JMeter tags/keywords

edit, http, http, httpsampler, httpsampler, httpsampler2, httpsampler2, httptestsamplegui, httptestsamplegui2, if, new, old, request, request

The JMeter ConvertHTTPSampler.txt source code

=== HTTPSampler to HTTPSampler2 convertion ===

If the testcase was created with an old version, load it into 2.1.1 and save it.
Edit the testcase and replace the following:

Old
===
<HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="HTTP Request" enabled="true">
...
</HTTPSampler>

New
===
<HTTPSampler2 guiclass="HttpTestSampleGui2" testclass="HTTPSampler2" testname="HTTP Request" enabled="true">
...
</HTTPSampler2>

Other JMeter examples (source code examples)

Here is a short list of links related to this JMeter ConvertHTTPSampler.txt source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.