jmeter how to record http(s) script recorder for uploading xml file
jmeter 5.0 windows 10
I am using jmeter to load test a localhost:5000 app and want to record it using htts test script recorder
I go file-->templates-->select template --create and it scaffolds a test for me
I then go to firefox and go to proxy and change setting and also install the certificate
I then click on the http(s) test script recorder on the left and hit the start button which results in a pop up to install the certificate
then there is another pop up
what values should i be selecting in html sampler setting and the highlighted
this is what I want to achieve
go to http://localhost:5000/
then upload a xml file(I have stored it in my jmeter/bin dir) and get a multi checkbox item results back
then check some of the check boxes and then hit submit button
python-3.x performance file-upload jmeter
add a comment |
jmeter 5.0 windows 10
I am using jmeter to load test a localhost:5000 app and want to record it using htts test script recorder
I go file-->templates-->select template --create and it scaffolds a test for me
I then go to firefox and go to proxy and change setting and also install the certificate
I then click on the http(s) test script recorder on the left and hit the start button which results in a pop up to install the certificate
then there is another pop up
what values should i be selecting in html sampler setting and the highlighted
this is what I want to achieve
go to http://localhost:5000/
then upload a xml file(I have stored it in my jmeter/bin dir) and get a multi checkbox item results back
then check some of the check boxes and then hit submit button
python-3.x performance file-upload jmeter
add a comment |
jmeter 5.0 windows 10
I am using jmeter to load test a localhost:5000 app and want to record it using htts test script recorder
I go file-->templates-->select template --create and it scaffolds a test for me
I then go to firefox and go to proxy and change setting and also install the certificate
I then click on the http(s) test script recorder on the left and hit the start button which results in a pop up to install the certificate
then there is another pop up
what values should i be selecting in html sampler setting and the highlighted
this is what I want to achieve
go to http://localhost:5000/
then upload a xml file(I have stored it in my jmeter/bin dir) and get a multi checkbox item results back
then check some of the check boxes and then hit submit button
python-3.x performance file-upload jmeter
jmeter 5.0 windows 10
I am using jmeter to load test a localhost:5000 app and want to record it using htts test script recorder
I go file-->templates-->select template --create and it scaffolds a test for me
I then go to firefox and go to proxy and change setting and also install the certificate
I then click on the http(s) test script recorder on the left and hit the start button which results in a pop up to install the certificate
then there is another pop up
what values should i be selecting in html sampler setting and the highlighted
this is what I want to achieve
go to http://localhost:5000/
then upload a xml file(I have stored it in my jmeter/bin dir) and get a multi checkbox item results back
then check some of the check boxes and then hit submit button
python-3.x performance file-upload jmeter
python-3.x performance file-upload jmeter
asked Nov 20 '18 at 0:52
user17970user17970
608
608
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Prefix
- is just a string which will be added to the generated HTTP Request sampler labels. If you don't provide any prefix you will have the names like1, 2, 3, 4, etc.
:
If you set something as the prefix - it will be added to each sampler name
Create new transaction after request (ms)
- if you put i.e.5000
into this field and during recording you will not click anywhere for 5+ seconds - JMeter will put all subsequent requests into a new Transaction Controller. Transaction Controller's main function is to measure the total child of its children. for example on the above imagefoo10
is the Transaction Controller and it will measure the cumulative time of execution of samplers fromfoo10
tofoo17
and report it as a single transaction. For example you can have your whole sequence as a single transaction or have 2 separate transactions: upload file and submit.
Just in case make sure your Firefox proxy settings look like:
to wit:
- proxy is being used for all protocols
- no exclusions are being made
- You should be importing certificate into the Firefox after starting the proxy as the certificate has limited life time span (7 days) and if you will not be recording for more than 7 days you will not be able to use the certificate anymore without regenerating it. So make sure that "fresh" certificate is imported into the Firefox.
After struggling with Jmeter for half a day, some one else recommended badboy software and its very simple to use and to top it you can export from badboy to jmeter , and I do not work for Badboy software and not connected to it in any way
– user17970
Nov 20 '18 at 18:30
Thank you Dmitri T for providing solution. I am also facing same issue and I did not see this window in previous Jmeter versions. after entering these values as well, the pop up is not going away. Is there a way to disable this pop up and work normally as other Jmeter version?
– ABCDEFG
Nov 29 '18 at 16:34
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53384713%2fjmeter-how-to-record-https-script-recorder-for-uploading-xml-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Prefix
- is just a string which will be added to the generated HTTP Request sampler labels. If you don't provide any prefix you will have the names like1, 2, 3, 4, etc.
:
If you set something as the prefix - it will be added to each sampler name
Create new transaction after request (ms)
- if you put i.e.5000
into this field and during recording you will not click anywhere for 5+ seconds - JMeter will put all subsequent requests into a new Transaction Controller. Transaction Controller's main function is to measure the total child of its children. for example on the above imagefoo10
is the Transaction Controller and it will measure the cumulative time of execution of samplers fromfoo10
tofoo17
and report it as a single transaction. For example you can have your whole sequence as a single transaction or have 2 separate transactions: upload file and submit.
Just in case make sure your Firefox proxy settings look like:
to wit:
- proxy is being used for all protocols
- no exclusions are being made
- You should be importing certificate into the Firefox after starting the proxy as the certificate has limited life time span (7 days) and if you will not be recording for more than 7 days you will not be able to use the certificate anymore without regenerating it. So make sure that "fresh" certificate is imported into the Firefox.
After struggling with Jmeter for half a day, some one else recommended badboy software and its very simple to use and to top it you can export from badboy to jmeter , and I do not work for Badboy software and not connected to it in any way
– user17970
Nov 20 '18 at 18:30
Thank you Dmitri T for providing solution. I am also facing same issue and I did not see this window in previous Jmeter versions. after entering these values as well, the pop up is not going away. Is there a way to disable this pop up and work normally as other Jmeter version?
– ABCDEFG
Nov 29 '18 at 16:34
add a comment |
Prefix
- is just a string which will be added to the generated HTTP Request sampler labels. If you don't provide any prefix you will have the names like1, 2, 3, 4, etc.
:
If you set something as the prefix - it will be added to each sampler name
Create new transaction after request (ms)
- if you put i.e.5000
into this field and during recording you will not click anywhere for 5+ seconds - JMeter will put all subsequent requests into a new Transaction Controller. Transaction Controller's main function is to measure the total child of its children. for example on the above imagefoo10
is the Transaction Controller and it will measure the cumulative time of execution of samplers fromfoo10
tofoo17
and report it as a single transaction. For example you can have your whole sequence as a single transaction or have 2 separate transactions: upload file and submit.
Just in case make sure your Firefox proxy settings look like:
to wit:
- proxy is being used for all protocols
- no exclusions are being made
- You should be importing certificate into the Firefox after starting the proxy as the certificate has limited life time span (7 days) and if you will not be recording for more than 7 days you will not be able to use the certificate anymore without regenerating it. So make sure that "fresh" certificate is imported into the Firefox.
After struggling with Jmeter for half a day, some one else recommended badboy software and its very simple to use and to top it you can export from badboy to jmeter , and I do not work for Badboy software and not connected to it in any way
– user17970
Nov 20 '18 at 18:30
Thank you Dmitri T for providing solution. I am also facing same issue and I did not see this window in previous Jmeter versions. after entering these values as well, the pop up is not going away. Is there a way to disable this pop up and work normally as other Jmeter version?
– ABCDEFG
Nov 29 '18 at 16:34
add a comment |
Prefix
- is just a string which will be added to the generated HTTP Request sampler labels. If you don't provide any prefix you will have the names like1, 2, 3, 4, etc.
:
If you set something as the prefix - it will be added to each sampler name
Create new transaction after request (ms)
- if you put i.e.5000
into this field and during recording you will not click anywhere for 5+ seconds - JMeter will put all subsequent requests into a new Transaction Controller. Transaction Controller's main function is to measure the total child of its children. for example on the above imagefoo10
is the Transaction Controller and it will measure the cumulative time of execution of samplers fromfoo10
tofoo17
and report it as a single transaction. For example you can have your whole sequence as a single transaction or have 2 separate transactions: upload file and submit.
Just in case make sure your Firefox proxy settings look like:
to wit:
- proxy is being used for all protocols
- no exclusions are being made
- You should be importing certificate into the Firefox after starting the proxy as the certificate has limited life time span (7 days) and if you will not be recording for more than 7 days you will not be able to use the certificate anymore without regenerating it. So make sure that "fresh" certificate is imported into the Firefox.
Prefix
- is just a string which will be added to the generated HTTP Request sampler labels. If you don't provide any prefix you will have the names like1, 2, 3, 4, etc.
:
If you set something as the prefix - it will be added to each sampler name
Create new transaction after request (ms)
- if you put i.e.5000
into this field and during recording you will not click anywhere for 5+ seconds - JMeter will put all subsequent requests into a new Transaction Controller. Transaction Controller's main function is to measure the total child of its children. for example on the above imagefoo10
is the Transaction Controller and it will measure the cumulative time of execution of samplers fromfoo10
tofoo17
and report it as a single transaction. For example you can have your whole sequence as a single transaction or have 2 separate transactions: upload file and submit.
Just in case make sure your Firefox proxy settings look like:
to wit:
- proxy is being used for all protocols
- no exclusions are being made
- You should be importing certificate into the Firefox after starting the proxy as the certificate has limited life time span (7 days) and if you will not be recording for more than 7 days you will not be able to use the certificate anymore without regenerating it. So make sure that "fresh" certificate is imported into the Firefox.
answered Nov 20 '18 at 7:12
Dmitri TDmitri T
69.7k33458
69.7k33458
After struggling with Jmeter for half a day, some one else recommended badboy software and its very simple to use and to top it you can export from badboy to jmeter , and I do not work for Badboy software and not connected to it in any way
– user17970
Nov 20 '18 at 18:30
Thank you Dmitri T for providing solution. I am also facing same issue and I did not see this window in previous Jmeter versions. after entering these values as well, the pop up is not going away. Is there a way to disable this pop up and work normally as other Jmeter version?
– ABCDEFG
Nov 29 '18 at 16:34
add a comment |
After struggling with Jmeter for half a day, some one else recommended badboy software and its very simple to use and to top it you can export from badboy to jmeter , and I do not work for Badboy software and not connected to it in any way
– user17970
Nov 20 '18 at 18:30
Thank you Dmitri T for providing solution. I am also facing same issue and I did not see this window in previous Jmeter versions. after entering these values as well, the pop up is not going away. Is there a way to disable this pop up and work normally as other Jmeter version?
– ABCDEFG
Nov 29 '18 at 16:34
After struggling with Jmeter for half a day, some one else recommended badboy software and its very simple to use and to top it you can export from badboy to jmeter , and I do not work for Badboy software and not connected to it in any way
– user17970
Nov 20 '18 at 18:30
After struggling with Jmeter for half a day, some one else recommended badboy software and its very simple to use and to top it you can export from badboy to jmeter , and I do not work for Badboy software and not connected to it in any way
– user17970
Nov 20 '18 at 18:30
Thank you Dmitri T for providing solution. I am also facing same issue and I did not see this window in previous Jmeter versions. after entering these values as well, the pop up is not going away. Is there a way to disable this pop up and work normally as other Jmeter version?
– ABCDEFG
Nov 29 '18 at 16:34
Thank you Dmitri T for providing solution. I am also facing same issue and I did not see this window in previous Jmeter versions. after entering these values as well, the pop up is not going away. Is there a way to disable this pop up and work normally as other Jmeter version?
– ABCDEFG
Nov 29 '18 at 16:34
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53384713%2fjmeter-how-to-record-https-script-recorder-for-uploading-xml-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown