Jmeter - getting the exact accessibility time of a website












1















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










share|improve this question





























    1















    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










    share|improve this question



























      1












      1








      1


      1






      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










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 19 '18 at 7:19









      slugolicious

      5,04911318




      5,04911318










      asked Nov 19 '18 at 6:29









      TesterManTesterMan

      61




      61
























          2 Answers
          2






          active

          oldest

          votes


















          0














          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.






          share|improve this answer































            0















            1. Put your Check Boilerplate Website under the Loop Controller and set "Loop Count" to Forever (or reasonably high number of iterations)

            2. Add JSR223 PostProcessor as a child of the Check Boilerplate Website request


            3. 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.






            share|improve this answer
























            • 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













            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            0














            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.






            share|improve this answer




























              0














              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.






              share|improve this answer


























                0












                0








                0







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 19 '18 at 8:33









                HermanHerman

                6531520




                6531520

























                    0















                    1. Put your Check Boilerplate Website under the Loop Controller and set "Loop Count" to Forever (or reasonably high number of iterations)

                    2. Add JSR223 PostProcessor as a child of the Check Boilerplate Website request


                    3. 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.






                    share|improve this answer
























                    • 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


















                    0















                    1. Put your Check Boilerplate Website under the Loop Controller and set "Loop Count" to Forever (or reasonably high number of iterations)

                    2. Add JSR223 PostProcessor as a child of the Check Boilerplate Website request


                    3. 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.






                    share|improve this answer
























                    • 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
















                    0












                    0








                    0








                    1. Put your Check Boilerplate Website under the Loop Controller and set "Loop Count" to Forever (or reasonably high number of iterations)

                    2. Add JSR223 PostProcessor as a child of the Check Boilerplate Website request


                    3. 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.






                    share|improve this answer














                    1. Put your Check Boilerplate Website under the Loop Controller and set "Loop Count" to Forever (or reasonably high number of iterations)

                    2. Add JSR223 PostProcessor as a child of the Check Boilerplate Website request


                    3. 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.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    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





















                    • 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




















                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    這個網誌中的熱門文章

                    Tangent Lines Diagram Along Smooth Curve

                    Yusuf al-Mu'taman ibn Hud

                    Zucchini