> Regarding your first option, if I disable the result tree element while 
> running,
how will be I able to see the results for debugging.
You can use one of the less heavier listeners like
http://jmeter.apache.org/usermanual/component_reference.html#Save_Responses_to_a_file
http://jmeter.apache.org/usermanual/component_reference.html#Simple_Data_Writer
.

*Not as easy as View results tree


On Thu, Mar 16, 2017 at 3:58 AM, praveen tiwari <[email protected]>
wrote:

> Hi Felix,
>
> - Yes I have large responses.
>
> - Regarding your first option, if I disable the result tree element while
> running, how will be I able to see the results for debugging. When I record
> a script, I need to execute it once to see the response and get regular
> expression.
> I tried running in Non-GUI mode but after that I am not able to see the
> request in view result tree. Posted other mail in group with subject
> "Jmeter in Non-GUI Mode - Blank Request and Response".
>
> - Regarding second option, I downloaded latest files from "
> https://ci.apache.org/projects/jmeter/nightlies/";, this version also hangs
> when I execute whole flow and try to click on requests to see the result.
>
> *Files downloaded:*
> apache-jmeter-r1787116
> apache-jmeter-r1787116_src
>
> Not able to find help for "Run ant download_jars from the top-level
> directory to fetch the dependencies." mentioned on above site.
>
> In addition, I am trying to run jmeter from ant and getting below error,
> reference (
> http://testingfreak.com/step-by-step-process-to-run-jmx-
> file-through-command-prompt-using-ant-and-generate-html-report/
> )
>
> *Changes in Build.xml (highlighted in yellow):*
>
> -Djmeter.home=.. - C:\apache-jmeter-r1787116
>
>         -Dreport.title="My Report" - title for html report (default is
> 'Load Test Results')
>
>     </description>
>
>
>
>     <property name="testpath" value="${user.dir}"/>
>
>     <property name="jmeter.home" value="C:\apache-jmeter-r1787116"/>
>
> *Error:*
>
> C:\apache-ant-1.10.1\bin>ant
> Buildfile: C:\apache-ant-1.10.1\bin\build.xml
>
> run:
>      [echo] funcMode = false
>    [jmeter] Executing test plan: C:\apache-ant-1.10.1\bin\Test.jmx ==>
> C:\apache-ant-1.10.1\bin\Test.jtl
>
> _message_xalan:
>
> xslt-report:
>      [xslt] Processing C:\apache-ant-1.10.1\bin\Test.jtl to
> C:\apache-ant-1.10.1\bin\Test.html
>      [xslt] Loading stylesheet
> C:\apache-ant-1.10.1\bin\jmeter-results-detail-report_21.xsl
>      [xslt] C:\apache-ant-1.10.1\bin\Test.jtl:1:1: Fatal Error! Premature
> end of file.
>      [xslt] Failed to process C:\apache-ant-1.10.1\bin\Test.jtl
>
> BUILD FAILED
> C:\apache-ant-1.10.1\bin\build.xml:124: Fatal error during transformation
> using C:\apache-ant-1.10.1\bin\jmeter-results-detail-report_21.xsl:
> Premature end of file.; SystemID: file:/C:/apache-ant-1.10.1/bin/Test.jtl;
> Line#: 1; Column#: 1
>
> Total time: 4 seconds
>
> C:\apache-ant-1.10.1\bin>
>
> Can you please help, let me know if you need additional information.
>
>
> On Wed, Mar 15, 2017 at 4:44 PM, Felix Schumacher <
> [email protected]> wrote:
>
> >
> >
> > Am 14. März 2017 07:55:55 MEZ schrieb praveen tiwari <
> > [email protected]>:
> > >Hi Felix,
> > >
> > >Thanks for your response!
> > >
> > >I have tried to fetch thread dump and attached same, tried 2 times
> > >using
> > >below query via cmd.
> > >
> > >C:\>cd Program Files\Java\jdk1.8.0_121\bin
> > >
> > >C:\Program Files\Java\jdk1.8.0_121\bin>jstack -l 1112
> > >
> > >Above 1112 is the process id of java.
> > >Let me know if I did correct or some thing else was expected as I am
> > >taking
> > >thread dump first time.
> >
> > Seems to be correct.
> >
> > I believe you are experiencing a non responsiveness caused by the view
> > results tree element.
> >
> > Do you have large responses - probably with few new lines?
> >
> > Based on the above, you have two options.
> >
> > First, you can disable the view results tree element while running the
> > test.
> >
> > Second, try out a current nightly. We have changed the update mechanism
> of
> > the element to be nicer in respect of responsiveness.
> >
> > Hope this helps,
> >  Felix
> >
> > >
> > >
> > >On Fri, Mar 10, 2017 at 9:47 PM, Felix Schumacher <
> > >[email protected]> wrote:
> > >
> > >>
> > >>
> > >> Am 10. März 2017 09:53:45 MEZ schrieb praveen tiwari <
> > >> [email protected]>:
> > >> >Hi,
> > >> >
> > >> >I am trying to create a script using Jmeter v3.0. For this I
> > >recorded
> > >> >end
> > >> >to end flow of my website and recorded the HTTP requests (approx
> > >150).
> > >> >Now I need to figure out which regular expression I need to apply to
> > >> >fetch
> > >> >data from response in previous request, for which I am trying to run
> > >> >the
> > >> >script once and see responses in listener "View results tree".
> > >> >
> > >> >Problem I am facing is that Jmter hangs when I run all request with
> > >> >even 1
> > >> >virtual user, CPU usage goes to 100% for some time.
> > >> >
> > >> >I have disabled some requests (approx 80%), is that the reason
> > >behind
> > >> >this?
> > >> >
> > >> >Any help would be highly appreciated to avoid this and if any
> > >> >workaround
> > >> >available.
> > >>
> > >> Take threaddumps while the CPU is burning.
> > >>
> > >> I believe the current nightly has a new menu entry to do this easily
> > >from
> > >> the GUI.
> > >>
> > >> But it should be easy to find out how to take a threaddump by
> > >searching
> > >> the internet. The tools would be jstack, jvisualvm, jmc or even a
> > >simple
> > >> kill.
> > >>
> > >> We will probably be able to help you, when we see those dumps.
> > >>
> > >> Felix
> > >>
> > >>
> > >> >
> > >> >Thanks in advance!
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [email protected]
> > >> For additional commands, e-mail: [email protected]
> > >>
> > >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>
>
> --
> Praveen Kumar Tiwari
>

Reply via email to