JMeter Recorder is not working with HTTPS





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















Please before you say this has been asked on stack overflow, I have looked at each one of the answers and none of them are working as a solution.



No matter what I do HTTPS websites not working with JMeter recorder.



Using FireFox 63.03
Using JMeter 5.0
Mac OS



Here are my steps: (https://www.youtube.com/watch?v=amEHuq8auTU)



1). Create New Test Plan
2). Added a thread group
3). Added HTTP(S) recorder
4). Using port 8282 (tried 8080 earlier so trying others)
5). redirect automatically, follow redirects checked
6). Select HTTPS test script recorder for target controller
7) Add the HTTPS site (without the https)
8). Click Start
9). Getting prompted that ApacheJMeterTemporaryRootCA.crt is created
10. Triple checked that all previous ApacheJMeterTemporaryRootCA.crt are deleted in firefox cert settings
11). Install the new certificate with the two permissions checked (identify websites, identify users)
12). Now when I go to the site that I added in step 7. I get :
jmeter SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG in the browser.


When I check the jmeter logs:



I get:



2018-11-23 13:14:48,287 INFO o.a.j.p.h.p.Proxy: [50795]  KeyStore for SSL loaded OK and put host 'blue.mysite.com' in map with key (blue.mysite.com)
2018-11-23 13:14:48,308 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
2018-11-23 13:14:48,313 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2018-11-23 13:14:48,313 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2018-11-23 13:14:48,326 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: type JKS
2018-11-23 13:14:48,326 INFO o.a.j.u.SSLManager: KeyStore created OK
2018-11-23 13:14:48,327 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
2018-11-23 13:14:49,606 INFO o.a.j.p.h.p.Proxy: [50788] KeyStore for SSL loaded OK and put host 'www.google.com' in map with key (www.google.com)
2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50788] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50790] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50789] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
2018-11-23 13:14:56,059 INFO o.a.j.p.h.p.ProxyControl: [50805] Creating entry getpocket.cdn.mozilla.net in /usr/local/Cellar/jmeter/5.0/libexec/bin/proxyserver.jks
2018-11-23 13:14:59,048 INFO o.a.j.p.h.p.Proxy: [50805] KeyStore for SSL loaded OK and put host 'getpocket.cdn.mozilla.net' in map with key (getpocket.cdn.mozilla.net)
2018-11-23 13:14:59,184 ERROR o.a.j.p.h.p.Proxy:
javax.net.ssl.SSLProtocolException: Broken pipe (Write failed)


I have done this a lot of times and have played around with settings. Nothing seems to work. I even switched the url to 'https://yahoo.com' and to another personal site 'https://lawyeranalytix.com' thinking maybe the site I am trying to test has a flawed SSL implementation but it is the same with any SSL enabled site.










share|improve this question































    0















    Please before you say this has been asked on stack overflow, I have looked at each one of the answers and none of them are working as a solution.



    No matter what I do HTTPS websites not working with JMeter recorder.



    Using FireFox 63.03
    Using JMeter 5.0
    Mac OS



    Here are my steps: (https://www.youtube.com/watch?v=amEHuq8auTU)



    1). Create New Test Plan
    2). Added a thread group
    3). Added HTTP(S) recorder
    4). Using port 8282 (tried 8080 earlier so trying others)
    5). redirect automatically, follow redirects checked
    6). Select HTTPS test script recorder for target controller
    7) Add the HTTPS site (without the https)
    8). Click Start
    9). Getting prompted that ApacheJMeterTemporaryRootCA.crt is created
    10. Triple checked that all previous ApacheJMeterTemporaryRootCA.crt are deleted in firefox cert settings
    11). Install the new certificate with the two permissions checked (identify websites, identify users)
    12). Now when I go to the site that I added in step 7. I get :
    jmeter SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG in the browser.


    When I check the jmeter logs:



    I get:



    2018-11-23 13:14:48,287 INFO o.a.j.p.h.p.Proxy: [50795]  KeyStore for SSL loaded OK and put host 'blue.mysite.com' in map with key (blue.mysite.com)
    2018-11-23 13:14:48,308 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
    2018-11-23 13:14:48,313 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
    2018-11-23 13:14:48,313 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
    2018-11-23 13:14:48,326 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: type JKS
    2018-11-23 13:14:48,326 INFO o.a.j.u.SSLManager: KeyStore created OK
    2018-11-23 13:14:48,327 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
    2018-11-23 13:14:49,606 INFO o.a.j.p.h.p.Proxy: [50788] KeyStore for SSL loaded OK and put host 'www.google.com' in map with key (www.google.com)
    2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50788] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
    2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50790] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
    2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50789] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
    2018-11-23 13:14:56,059 INFO o.a.j.p.h.p.ProxyControl: [50805] Creating entry getpocket.cdn.mozilla.net in /usr/local/Cellar/jmeter/5.0/libexec/bin/proxyserver.jks
    2018-11-23 13:14:59,048 INFO o.a.j.p.h.p.Proxy: [50805] KeyStore for SSL loaded OK and put host 'getpocket.cdn.mozilla.net' in map with key (getpocket.cdn.mozilla.net)
    2018-11-23 13:14:59,184 ERROR o.a.j.p.h.p.Proxy:
    javax.net.ssl.SSLProtocolException: Broken pipe (Write failed)


    I have done this a lot of times and have played around with settings. Nothing seems to work. I even switched the url to 'https://yahoo.com' and to another personal site 'https://lawyeranalytix.com' thinking maybe the site I am trying to test has a flawed SSL implementation but it is the same with any SSL enabled site.










    share|improve this question



























      0












      0








      0


      1






      Please before you say this has been asked on stack overflow, I have looked at each one of the answers and none of them are working as a solution.



      No matter what I do HTTPS websites not working with JMeter recorder.



      Using FireFox 63.03
      Using JMeter 5.0
      Mac OS



      Here are my steps: (https://www.youtube.com/watch?v=amEHuq8auTU)



      1). Create New Test Plan
      2). Added a thread group
      3). Added HTTP(S) recorder
      4). Using port 8282 (tried 8080 earlier so trying others)
      5). redirect automatically, follow redirects checked
      6). Select HTTPS test script recorder for target controller
      7) Add the HTTPS site (without the https)
      8). Click Start
      9). Getting prompted that ApacheJMeterTemporaryRootCA.crt is created
      10. Triple checked that all previous ApacheJMeterTemporaryRootCA.crt are deleted in firefox cert settings
      11). Install the new certificate with the two permissions checked (identify websites, identify users)
      12). Now when I go to the site that I added in step 7. I get :
      jmeter SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG in the browser.


      When I check the jmeter logs:



      I get:



      2018-11-23 13:14:48,287 INFO o.a.j.p.h.p.Proxy: [50795]  KeyStore for SSL loaded OK and put host 'blue.mysite.com' in map with key (blue.mysite.com)
      2018-11-23 13:14:48,308 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
      2018-11-23 13:14:48,313 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
      2018-11-23 13:14:48,313 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
      2018-11-23 13:14:48,326 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: type JKS
      2018-11-23 13:14:48,326 INFO o.a.j.u.SSLManager: KeyStore created OK
      2018-11-23 13:14:48,327 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
      2018-11-23 13:14:49,606 INFO o.a.j.p.h.p.Proxy: [50788] KeyStore for SSL loaded OK and put host 'www.google.com' in map with key (www.google.com)
      2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50788] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
      2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50790] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
      2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50789] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
      2018-11-23 13:14:56,059 INFO o.a.j.p.h.p.ProxyControl: [50805] Creating entry getpocket.cdn.mozilla.net in /usr/local/Cellar/jmeter/5.0/libexec/bin/proxyserver.jks
      2018-11-23 13:14:59,048 INFO o.a.j.p.h.p.Proxy: [50805] KeyStore for SSL loaded OK and put host 'getpocket.cdn.mozilla.net' in map with key (getpocket.cdn.mozilla.net)
      2018-11-23 13:14:59,184 ERROR o.a.j.p.h.p.Proxy:
      javax.net.ssl.SSLProtocolException: Broken pipe (Write failed)


      I have done this a lot of times and have played around with settings. Nothing seems to work. I even switched the url to 'https://yahoo.com' and to another personal site 'https://lawyeranalytix.com' thinking maybe the site I am trying to test has a flawed SSL implementation but it is the same with any SSL enabled site.










      share|improve this question
















      Please before you say this has been asked on stack overflow, I have looked at each one of the answers and none of them are working as a solution.



      No matter what I do HTTPS websites not working with JMeter recorder.



      Using FireFox 63.03
      Using JMeter 5.0
      Mac OS



      Here are my steps: (https://www.youtube.com/watch?v=amEHuq8auTU)



      1). Create New Test Plan
      2). Added a thread group
      3). Added HTTP(S) recorder
      4). Using port 8282 (tried 8080 earlier so trying others)
      5). redirect automatically, follow redirects checked
      6). Select HTTPS test script recorder for target controller
      7) Add the HTTPS site (without the https)
      8). Click Start
      9). Getting prompted that ApacheJMeterTemporaryRootCA.crt is created
      10. Triple checked that all previous ApacheJMeterTemporaryRootCA.crt are deleted in firefox cert settings
      11). Install the new certificate with the two permissions checked (identify websites, identify users)
      12). Now when I go to the site that I added in step 7. I get :
      jmeter SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG in the browser.


      When I check the jmeter logs:



      I get:



      2018-11-23 13:14:48,287 INFO o.a.j.p.h.p.Proxy: [50795]  KeyStore for SSL loaded OK and put host 'blue.mysite.com' in map with key (blue.mysite.com)
      2018-11-23 13:14:48,308 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
      2018-11-23 13:14:48,313 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
      2018-11-23 13:14:48,313 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
      2018-11-23 13:14:48,326 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: type JKS
      2018-11-23 13:14:48,326 INFO o.a.j.u.SSLManager: KeyStore created OK
      2018-11-23 13:14:48,327 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
      2018-11-23 13:14:49,606 INFO o.a.j.p.h.p.Proxy: [50788] KeyStore for SSL loaded OK and put host 'www.google.com' in map with key (www.google.com)
      2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50788] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
      2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50790] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
      2018-11-23 13:14:49,613 WARN o.a.j.p.h.p.Proxy: [50789] Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert: readHandshakeRecord
      2018-11-23 13:14:56,059 INFO o.a.j.p.h.p.ProxyControl: [50805] Creating entry getpocket.cdn.mozilla.net in /usr/local/Cellar/jmeter/5.0/libexec/bin/proxyserver.jks
      2018-11-23 13:14:59,048 INFO o.a.j.p.h.p.Proxy: [50805] KeyStore for SSL loaded OK and put host 'getpocket.cdn.mozilla.net' in map with key (getpocket.cdn.mozilla.net)
      2018-11-23 13:14:59,184 ERROR o.a.j.p.h.p.Proxy:
      javax.net.ssl.SSLProtocolException: Broken pipe (Write failed)


      I have done this a lot of times and have played around with settings. Nothing seems to work. I even switched the url to 'https://yahoo.com' and to another personal site 'https://lawyeranalytix.com' thinking maybe the site I am trying to test has a flawed SSL implementation but it is the same with any SSL enabled site.







      ssl jmeter jmeter-plugins jmeter-4.0






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 23 '18 at 20:04







      kratos

















      asked Nov 23 '18 at 19:33









      kratoskratos

      1,8611736




      1,8611736
























          1 Answer
          1






          active

          oldest

          votes


















          1















          Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert




          It appears that you failed to install JMeter's certificate to Firefox.



          Try clearing your Firefox history and ensure to delete everything from the beginning of the time - it will include custom certificates. Restart Firefox once done.



          Check out the following materials:





          • HTTPS recording and certificates chapter of the HTTP(S) Test Script Recorder user manual chapter


          • Recording HTTPS Traffic with JMeter's Proxy Server


          Also be aware of the alternative ways of recording a JMeter test:





          • JMeter Chrome Extension

          • Using Badboy with JMeter






          share|improve this answer
























            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%2f53452113%2fjmeter-recorder-is-not-working-with-https%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









            1















            Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert




            It appears that you failed to install JMeter's certificate to Firefox.



            Try clearing your Firefox history and ensure to delete everything from the beginning of the time - it will include custom certificates. Restart Firefox once done.



            Check out the following materials:





            • HTTPS recording and certificates chapter of the HTTP(S) Test Script Recorder user manual chapter


            • Recording HTTPS Traffic with JMeter's Proxy Server


            Also be aware of the alternative ways of recording a JMeter test:





            • JMeter Chrome Extension

            • Using Badboy with JMeter






            share|improve this answer




























              1















              Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert




              It appears that you failed to install JMeter's certificate to Firefox.



              Try clearing your Firefox history and ensure to delete everything from the beginning of the time - it will include custom certificates. Restart Firefox once done.



              Check out the following materials:





              • HTTPS recording and certificates chapter of the HTTP(S) Test Script Recorder user manual chapter


              • Recording HTTPS Traffic with JMeter's Proxy Server


              Also be aware of the alternative ways of recording a JMeter test:





              • JMeter Chrome Extension

              • Using Badboy with JMeter






              share|improve this answer


























                1












                1








                1








                Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert




                It appears that you failed to install JMeter's certificate to Firefox.



                Try clearing your Firefox history and ensure to delete everything from the beginning of the time - it will include custom certificates. Restart Firefox once done.



                Check out the following materials:





                • HTTPS recording and certificates chapter of the HTTP(S) Test Script Recorder user manual chapter


                • Recording HTTPS Traffic with JMeter's Proxy Server


                Also be aware of the alternative ways of recording a JMeter test:





                • JMeter Chrome Extension

                • Using Badboy with JMeter






                share|improve this answer














                Problem with SSL certificate for url for 'www.google.com'? Ensure browser is set to accept the JMeter proxy cert




                It appears that you failed to install JMeter's certificate to Firefox.



                Try clearing your Firefox history and ensure to delete everything from the beginning of the time - it will include custom certificates. Restart Firefox once done.



                Check out the following materials:





                • HTTPS recording and certificates chapter of the HTTP(S) Test Script Recorder user manual chapter


                • Recording HTTPS Traffic with JMeter's Proxy Server


                Also be aware of the alternative ways of recording a JMeter test:





                • JMeter Chrome Extension

                • Using Badboy with JMeter







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 26 '18 at 9:51









                Dmitri TDmitri T

                75.1k33766




                75.1k33766
































                    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%2f53452113%2fjmeter-recorder-is-not-working-with-https%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







                    Popular posts from this blog

                    If I really need a card on my start hand, how many mulligans make sense? [duplicate]

                    Alcedinidae

                    Can an atomic nucleus contain both particles and antiparticles? [duplicate]