jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praveen tiwari <praveentiwa...@gmail.com>
Subject Re: Jmeter Hangs - Running 150 HTTP Requests
Date Mon, 20 Mar 2017 10:20:34 GMT
Hi Felix,

Unfortunately I won't be able to share HTML file.

Content type in most requests are as below:

font/x-woff2
application/json; charset=utf-8
text/javascript;charset=utf-8
image/gif
text/html; charset=utf-8
text/javascript;charset=ISO-8859-1
text/css; charset=utf-8


On Sun, Mar 19, 2017 at 5:51 PM, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:

> Am 16.03.2017 um 13:04 schrieb praveen tiwari:
>
>> Hi Felix,
>>
>> - Sampler Result
>>
>> Thread Name: Thread Group 1-1
>> Sample Start: 2017-03-16 04:07:53 PDT
>> Load time: 1810
>> Connect Time: 1158
>> Latency: 1526
>> Size in bytes: 32526
>> Headers size in bytes: 1351
>> Body size in bytes: 31175
>> Sample Count: 1
>> Error Count: 0
>> Response code: 200
>> Response message: OK
>>
>> Response headers:
>> HTTP/1.1 200 OK
>> Cache-Control: private
>> Content-Type: text/html; charset=utf-8
>>
>> When I copy the response in word, it contains 1801 words.
>>
>> - How long does it take, until I can use the gui again?
>> Time elapsed in my stopwatch is 11 min:03Sec:60ms
>> Is this due to some configuration issues on my machine?
>>
>> *Configuration:*
>> RAM: 2GB Processor: Intel(R) Xeon(R) CPU E5620 @2.40GHz 2.39 GHz
>> Operating System: Microsoft Windows 2012 R2 standard
>>
>
> Can you share a sample html file? I tried to recreate it with a simple
> html file that was  around 32kb, but no luck so far.
>
> If you can't: What characters are contained (ASCII plus some UTF-8, Mostly
> UTF-8, ...; new-lines, no-break spaces, ...)
>
> Regards,
>  Felix
>
>
>> For new question, I will start new thread.
>>
>>
>> On Thu, Mar 16, 2017 at 4:50 PM, Felix Schumacher <
>> felix.schumacher@internetallee.de> wrote:
>>
>> Am 16.03.2017 11:58, schrieb praveen tiwari:
>>>
>>> Hi Felix,
>>>>
>>>> - Yes I have large responses.
>>>>
>>>> Can you post a sample of such a response, or give general statistics
>>> about
>>> it, like
>>>   * the content-type
>>>   * the size
>>>   * line length(s)
>>>   * type of characters
>>>
>>>
>>> - 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.
>>>>
>>>> How long does it take, until you can use the gui again?
>>> I believe Phillippe has reported the long rendering already to Oracle.
>>>
>>>
>>> *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.
>>>>
>>>> You don't have to compile the nightlies, just unzip them. (You don't
>>> need
>>> the src to run JMeter)
>>>
>>>
>>> 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/
>>>> )
>>>>
>>>> This seems to be a new question. Please start a new mail thread.
>>>
>>> Regards,
>>>   Felix
>>>
>>>
>>> *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 <
>>>> felix.schumacher@internetallee.de> wrote:
>>>>
>>>>
>>>> Am 14. März 2017 07:55:55 MEZ schrieb praveen tiwari <
>>>>> praveentiwari5@gmail.com>:
>>>>>
>>>>>> 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 <
>>>>>> felix.schumacher@internetallee.de> wrote:
>>>>>>
>>>>>>
>>>>>>> Am 10. März 2017 09:53:45 MEZ schrieb praveen tiwari <
>>>>>>> praveentiwari5@gmail.com>:
>>>>>>>
>>>>>>>> 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: user-unsubscribe@jmeter.apache.org
>>>>>>> For additional commands, e-mail: user-help@jmeter.apache.org
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------
>>>>> ---------
>>>>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>>>>> For additional commands, e-mail: user-help@jmeter.apache.org
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>>> For additional commands, e-mail: user-help@jmeter.apache.org
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


-- 
Praveen Kumar Tiwari

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message