JMeter Internal server Error, Response Code : 500 on posting a form












2















enter image description hereJMeter Internal server Error, Response Code : 500 on posting a form.
I am trying to load test our banking application with JMeter.I have successfully logged in to the application. Now I am trying to create an accuont. Account opening form has five pages and I am getting internal server error when I post the first page of the account opening process.
I have provided all possible values which are required for posting first page (As required in the browser to make it go to next page).
I have added the Cookie manager and Header manager also.
But this fails in JMeter.



Any help will be highly appreciated.



enter image description here










share|improve this question

























  • If any extra information is needed to make it clear. Please post it. I will be more than happy to provide any clarification. Thanks

    – Virendra Joshi
    Jul 2 '14 at 5:16











  • Yes.Can you post the screenshot of the http request you sent? it will help us to find the issue.

    – vins
    Jul 2 '14 at 5:21













  • @vlns , please check the added screen-shot.

    – Virendra Joshi
    Jul 2 '14 at 5:34











  • It shows RAW view. Please provide the HTTP view. Looks like you do not pass some information like 'chanel' & 'cycleGroup' etc. Do you use Regular Expression Extractor?

    – vins
    Jul 2 '14 at 5:40











  • I am using regular expression to extract all dynamic urls. I will post the HTTP view. Thanks

    – Virendra Joshi
    Jul 2 '14 at 6:20
















2















enter image description hereJMeter Internal server Error, Response Code : 500 on posting a form.
I am trying to load test our banking application with JMeter.I have successfully logged in to the application. Now I am trying to create an accuont. Account opening form has five pages and I am getting internal server error when I post the first page of the account opening process.
I have provided all possible values which are required for posting first page (As required in the browser to make it go to next page).
I have added the Cookie manager and Header manager also.
But this fails in JMeter.



Any help will be highly appreciated.



enter image description here










share|improve this question

























  • If any extra information is needed to make it clear. Please post it. I will be more than happy to provide any clarification. Thanks

    – Virendra Joshi
    Jul 2 '14 at 5:16











  • Yes.Can you post the screenshot of the http request you sent? it will help us to find the issue.

    – vins
    Jul 2 '14 at 5:21













  • @vlns , please check the added screen-shot.

    – Virendra Joshi
    Jul 2 '14 at 5:34











  • It shows RAW view. Please provide the HTTP view. Looks like you do not pass some information like 'chanel' & 'cycleGroup' etc. Do you use Regular Expression Extractor?

    – vins
    Jul 2 '14 at 5:40











  • I am using regular expression to extract all dynamic urls. I will post the HTTP view. Thanks

    – Virendra Joshi
    Jul 2 '14 at 6:20














2












2








2


1






enter image description hereJMeter Internal server Error, Response Code : 500 on posting a form.
I am trying to load test our banking application with JMeter.I have successfully logged in to the application. Now I am trying to create an accuont. Account opening form has five pages and I am getting internal server error when I post the first page of the account opening process.
I have provided all possible values which are required for posting first page (As required in the browser to make it go to next page).
I have added the Cookie manager and Header manager also.
But this fails in JMeter.



Any help will be highly appreciated.



enter image description here










share|improve this question
















enter image description hereJMeter Internal server Error, Response Code : 500 on posting a form.
I am trying to load test our banking application with JMeter.I have successfully logged in to the application. Now I am trying to create an accuont. Account opening form has five pages and I am getting internal server error when I post the first page of the account opening process.
I have provided all possible values which are required for posting first page (As required in the browser to make it go to next page).
I have added the Cookie manager and Header manager also.
But this fails in JMeter.



Any help will be highly appreciated.



enter image description here







jmeter






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 2 '14 at 6:24







Virendra Joshi

















asked Jul 2 '14 at 5:07









Virendra JoshiVirendra Joshi

1942624




1942624













  • If any extra information is needed to make it clear. Please post it. I will be more than happy to provide any clarification. Thanks

    – Virendra Joshi
    Jul 2 '14 at 5:16











  • Yes.Can you post the screenshot of the http request you sent? it will help us to find the issue.

    – vins
    Jul 2 '14 at 5:21













  • @vlns , please check the added screen-shot.

    – Virendra Joshi
    Jul 2 '14 at 5:34











  • It shows RAW view. Please provide the HTTP view. Looks like you do not pass some information like 'chanel' & 'cycleGroup' etc. Do you use Regular Expression Extractor?

    – vins
    Jul 2 '14 at 5:40











  • I am using regular expression to extract all dynamic urls. I will post the HTTP view. Thanks

    – Virendra Joshi
    Jul 2 '14 at 6:20



















  • If any extra information is needed to make it clear. Please post it. I will be more than happy to provide any clarification. Thanks

    – Virendra Joshi
    Jul 2 '14 at 5:16











  • Yes.Can you post the screenshot of the http request you sent? it will help us to find the issue.

    – vins
    Jul 2 '14 at 5:21













  • @vlns , please check the added screen-shot.

    – Virendra Joshi
    Jul 2 '14 at 5:34











  • It shows RAW view. Please provide the HTTP view. Looks like you do not pass some information like 'chanel' & 'cycleGroup' etc. Do you use Regular Expression Extractor?

    – vins
    Jul 2 '14 at 5:40











  • I am using regular expression to extract all dynamic urls. I will post the HTTP view. Thanks

    – Virendra Joshi
    Jul 2 '14 at 6:20

















If any extra information is needed to make it clear. Please post it. I will be more than happy to provide any clarification. Thanks

– Virendra Joshi
Jul 2 '14 at 5:16





If any extra information is needed to make it clear. Please post it. I will be more than happy to provide any clarification. Thanks

– Virendra Joshi
Jul 2 '14 at 5:16













Yes.Can you post the screenshot of the http request you sent? it will help us to find the issue.

– vins
Jul 2 '14 at 5:21







Yes.Can you post the screenshot of the http request you sent? it will help us to find the issue.

– vins
Jul 2 '14 at 5:21















@vlns , please check the added screen-shot.

– Virendra Joshi
Jul 2 '14 at 5:34





@vlns , please check the added screen-shot.

– Virendra Joshi
Jul 2 '14 at 5:34













It shows RAW view. Please provide the HTTP view. Looks like you do not pass some information like 'chanel' & 'cycleGroup' etc. Do you use Regular Expression Extractor?

– vins
Jul 2 '14 at 5:40





It shows RAW view. Please provide the HTTP view. Looks like you do not pass some information like 'chanel' & 'cycleGroup' etc. Do you use Regular Expression Extractor?

– vins
Jul 2 '14 at 5:40













I am using regular expression to extract all dynamic urls. I will post the HTTP view. Thanks

– Virendra Joshi
Jul 2 '14 at 6:20





I am using regular expression to extract all dynamic urls. I will post the HTTP view. Thanks

– Virendra Joshi
Jul 2 '14 at 6:20












2 Answers
2






active

oldest

votes


















0














You may need to add "Http Header Manager" user your "Http Request" which is failing.
Click on add button to add on column under "Headers stored in the Header Manager"




  • Add Name : Content-Type

  • Add value : application/json

  • save it and run it.


This may solve your 500 (internal server error) error problem.






share|improve this answer

































    0














    The best thing is to try recording to ensure you’re not missing:




    • header

    • cookie

    • parameter


    or any additional http request.



    Read:




    • https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.html






    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%2f24523265%2fjmeter-internal-server-error-response-code-500-on-posting-a-form%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














      You may need to add "Http Header Manager" user your "Http Request" which is failing.
      Click on add button to add on column under "Headers stored in the Header Manager"




      • Add Name : Content-Type

      • Add value : application/json

      • save it and run it.


      This may solve your 500 (internal server error) error problem.






      share|improve this answer






























        0














        You may need to add "Http Header Manager" user your "Http Request" which is failing.
        Click on add button to add on column under "Headers stored in the Header Manager"




        • Add Name : Content-Type

        • Add value : application/json

        • save it and run it.


        This may solve your 500 (internal server error) error problem.






        share|improve this answer




























          0












          0








          0







          You may need to add "Http Header Manager" user your "Http Request" which is failing.
          Click on add button to add on column under "Headers stored in the Header Manager"




          • Add Name : Content-Type

          • Add value : application/json

          • save it and run it.


          This may solve your 500 (internal server error) error problem.






          share|improve this answer















          You may need to add "Http Header Manager" user your "Http Request" which is failing.
          Click on add button to add on column under "Headers stored in the Header Manager"




          • Add Name : Content-Type

          • Add value : application/json

          • save it and run it.


          This may solve your 500 (internal server error) error problem.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 23 '15 at 10:45









          shA.t

          13.1k43871




          13.1k43871










          answered Apr 23 '15 at 10:08









          NareshNaresh

          1




          1

























              0














              The best thing is to try recording to ensure you’re not missing:




              • header

              • cookie

              • parameter


              or any additional http request.



              Read:




              • https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.html






              share|improve this answer






























                0














                The best thing is to try recording to ensure you’re not missing:




                • header

                • cookie

                • parameter


                or any additional http request.



                Read:




                • https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.html






                share|improve this answer




























                  0












                  0








                  0







                  The best thing is to try recording to ensure you’re not missing:




                  • header

                  • cookie

                  • parameter


                  or any additional http request.



                  Read:




                  • https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.html






                  share|improve this answer















                  The best thing is to try recording to ensure you’re not missing:




                  • header

                  • cookie

                  • parameter


                  or any additional http request.



                  Read:




                  • https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.html







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Aug 21 '18 at 21:19

























                  answered Aug 21 '18 at 11:31









                  Yution LioYution Lio

                  809




                  809






























                      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%2f24523265%2fjmeter-internal-server-error-response-code-500-on-posting-a-form%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







                      這個網誌中的熱門文章

                      Hercules Kyvelos

                      Tangent Lines Diagram Along Smooth Curve

                      Yusuf al-Mu'taman ibn Hud