Jmeter - getting the exact accessibility time of a website
I am new to Jmeter (performace testing)
Is there a way in jmeter where i can get the exact accessibility time of a website i created using docker image? As of now i am using timer to mesure the accessibility time(time of successful checking of website minus the creation if website using docker image) but it will continue to execute the HTTP request until all the HTTP is executed.
The scenario that i want is like this:
I will create a website using docker image then i will have to check the exact accessibility time(from creating up to launching/checking the site). Once the the requirement is met the timer will stop and it will give me the exact time on when it is actually up. This is the sample of my thread that i am using:
enter image description here
Please help me thank you!!1
performance testing jmeter
add a comment |
I am new to Jmeter (performace testing)
Is there a way in jmeter where i can get the exact accessibility time of a website i created using docker image? As of now i am using timer to mesure the accessibility time(time of successful checking of website minus the creation if website using docker image) but it will continue to execute the HTTP request until all the HTTP is executed.
The scenario that i want is like this:
I will create a website using docker image then i will have to check the exact accessibility time(from creating up to launching/checking the site). Once the the requirement is met the timer will stop and it will give me the exact time on when it is actually up. This is the sample of my thread that i am using:
enter image description here
Please help me thank you!!1
performance testing jmeter
add a comment |
I am new to Jmeter (performace testing)
Is there a way in jmeter where i can get the exact accessibility time of a website i created using docker image? As of now i am using timer to mesure the accessibility time(time of successful checking of website minus the creation if website using docker image) but it will continue to execute the HTTP request until all the HTTP is executed.
The scenario that i want is like this:
I will create a website using docker image then i will have to check the exact accessibility time(from creating up to launching/checking the site). Once the the requirement is met the timer will stop and it will give me the exact time on when it is actually up. This is the sample of my thread that i am using:
enter image description here
Please help me thank you!!1
performance testing jmeter
I am new to Jmeter (performace testing)
Is there a way in jmeter where i can get the exact accessibility time of a website i created using docker image? As of now i am using timer to mesure the accessibility time(time of successful checking of website minus the creation if website using docker image) but it will continue to execute the HTTP request until all the HTTP is executed.
The scenario that i want is like this:
I will create a website using docker image then i will have to check the exact accessibility time(from creating up to launching/checking the site). Once the the requirement is met the timer will stop and it will give me the exact time on when it is actually up. This is the sample of my thread that i am using:
enter image description here
Please help me thank you!!1
performance testing jmeter
performance testing jmeter
edited Nov 19 '18 at 7:19
slugolicious
5,04911318
5,04911318
asked Nov 19 '18 at 6:29
TesterManTesterMan
61
61
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Have you try to looks into NewRelic website, basically all you need to add the dll.
It will capture the metric for the HTTP web request, you also able to go down to the database layer to see which database that slow.
add a comment |
- Put your
Check Boilerplate Website
under the Loop Controller and set "Loop Count" toForever
(or reasonably high number of iterations) - Add JSR223 PostProcessor as a child of the
Check Boilerplate Website
request
Put the following code into "Script" area:
if (prev.isSuccessful()) {
prev.setStopTest(true)
}
The above setup will execute Check Boilerplate Website
request until it will be successful, the JMeter test will end once the request will be OK.
prev
is a shorthand for the SampleResult class instance, check out JavaDoc for available functions and Apache Groovy - Why and How You Should Use It article to learn more about the concept of Groovy scripting in JMeter tests.
Thank you for this. I forgot 1 more thing, in the view result tree, i only want to get the last successful status. The View Result Tree will only show the successful status and will disregard the failed status. I that possible? thank you!
– TesterMan
Nov 21 '18 at 5:25
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%2f53369374%2fjmeter-getting-the-exact-accessibility-time-of-a-website%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Have you try to looks into NewRelic website, basically all you need to add the dll.
It will capture the metric for the HTTP web request, you also able to go down to the database layer to see which database that slow.
add a comment |
Have you try to looks into NewRelic website, basically all you need to add the dll.
It will capture the metric for the HTTP web request, you also able to go down to the database layer to see which database that slow.
add a comment |
Have you try to looks into NewRelic website, basically all you need to add the dll.
It will capture the metric for the HTTP web request, you also able to go down to the database layer to see which database that slow.
Have you try to looks into NewRelic website, basically all you need to add the dll.
It will capture the metric for the HTTP web request, you also able to go down to the database layer to see which database that slow.
answered Nov 19 '18 at 8:33
HermanHerman
6531520
6531520
add a comment |
add a comment |
- Put your
Check Boilerplate Website
under the Loop Controller and set "Loop Count" toForever
(or reasonably high number of iterations) - Add JSR223 PostProcessor as a child of the
Check Boilerplate Website
request
Put the following code into "Script" area:
if (prev.isSuccessful()) {
prev.setStopTest(true)
}
The above setup will execute Check Boilerplate Website
request until it will be successful, the JMeter test will end once the request will be OK.
prev
is a shorthand for the SampleResult class instance, check out JavaDoc for available functions and Apache Groovy - Why and How You Should Use It article to learn more about the concept of Groovy scripting in JMeter tests.
Thank you for this. I forgot 1 more thing, in the view result tree, i only want to get the last successful status. The View Result Tree will only show the successful status and will disregard the failed status. I that possible? thank you!
– TesterMan
Nov 21 '18 at 5:25
add a comment |
- Put your
Check Boilerplate Website
under the Loop Controller and set "Loop Count" toForever
(or reasonably high number of iterations) - Add JSR223 PostProcessor as a child of the
Check Boilerplate Website
request
Put the following code into "Script" area:
if (prev.isSuccessful()) {
prev.setStopTest(true)
}
The above setup will execute Check Boilerplate Website
request until it will be successful, the JMeter test will end once the request will be OK.
prev
is a shorthand for the SampleResult class instance, check out JavaDoc for available functions and Apache Groovy - Why and How You Should Use It article to learn more about the concept of Groovy scripting in JMeter tests.
Thank you for this. I forgot 1 more thing, in the view result tree, i only want to get the last successful status. The View Result Tree will only show the successful status and will disregard the failed status. I that possible? thank you!
– TesterMan
Nov 21 '18 at 5:25
add a comment |
- Put your
Check Boilerplate Website
under the Loop Controller and set "Loop Count" toForever
(or reasonably high number of iterations) - Add JSR223 PostProcessor as a child of the
Check Boilerplate Website
request
Put the following code into "Script" area:
if (prev.isSuccessful()) {
prev.setStopTest(true)
}
The above setup will execute Check Boilerplate Website
request until it will be successful, the JMeter test will end once the request will be OK.
prev
is a shorthand for the SampleResult class instance, check out JavaDoc for available functions and Apache Groovy - Why and How You Should Use It article to learn more about the concept of Groovy scripting in JMeter tests.
- Put your
Check Boilerplate Website
under the Loop Controller and set "Loop Count" toForever
(or reasonably high number of iterations) - Add JSR223 PostProcessor as a child of the
Check Boilerplate Website
request
Put the following code into "Script" area:
if (prev.isSuccessful()) {
prev.setStopTest(true)
}
The above setup will execute Check Boilerplate Website
request until it will be successful, the JMeter test will end once the request will be OK.
prev
is a shorthand for the SampleResult class instance, check out JavaDoc for available functions and Apache Groovy - Why and How You Should Use It article to learn more about the concept of Groovy scripting in JMeter tests.
answered Nov 19 '18 at 17:32
Dmitri TDmitri T
71.3k33661
71.3k33661
Thank you for this. I forgot 1 more thing, in the view result tree, i only want to get the last successful status. The View Result Tree will only show the successful status and will disregard the failed status. I that possible? thank you!
– TesterMan
Nov 21 '18 at 5:25
add a comment |
Thank you for this. I forgot 1 more thing, in the view result tree, i only want to get the last successful status. The View Result Tree will only show the successful status and will disregard the failed status. I that possible? thank you!
– TesterMan
Nov 21 '18 at 5:25
Thank you for this. I forgot 1 more thing, in the view result tree, i only want to get the last successful status. The View Result Tree will only show the successful status and will disregard the failed status. I that possible? thank you!
– TesterMan
Nov 21 '18 at 5:25
Thank you for this. I forgot 1 more thing, in the view result tree, i only want to get the last successful status. The View Result Tree will only show the successful status and will disregard the failed status. I that possible? thank you!
– TesterMan
Nov 21 '18 at 5:25
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%2f53369374%2fjmeter-getting-the-exact-accessibility-time-of-a-website%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