none
Load Test : Unable to run Jmeter load test RRS feed

  • Question

  • I have created a simple Jmeter load script and running from my local machine.

    I tried to run same script with visual studio and it is not running. Please help me.

    I see below in Jmter.log file

    2018-04-24 19:42:33,723 WARN o.a.j.e.StandardJMeterEngine: Error encountered during shutdown of jmeterplugin.CLTListenerPlugin@1a5a4e19
    java.util.NoSuchElementException: null
    at java.util.Collections$EmptyIterator.next(Unknown Source) ~[?:1.8.0_144]
    at java.util.Collections.max(Unknown Source) ~[?:1.8.0_144]
    at rawsamplemanager.components.RawSamplesCache.getLastInterval(RawSamplesCache.java:116) ~[vso-clt-1.0.jar:?]
    at rawsamplemanager.HttpRawSamplesCollector.getLastIntervalId(HttpRawSamplesCollector.java:69) ~[vso-clt-1.0.jar:?]
    at jmeterplugin.CLTListenerPlugin.testEnded(CLTListenerPlugin.java:99) ~[vso-clt-1.0.jar:?]
    at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:230) [ApacheJMeter_core.jar:3.2 r1790748]
    at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:498) [ApacheJMeter_core.jar:3.2 r1790748]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_144]
    2018-04-24 19:42:33,723 INFO o.a.j.r.Summariser: summary =      0 in 00:00:00 = ******/s Avg:     0 Min: 9223372036854775807 Max: -9223372036854775808 Err:     0 (0.00%)



    Tuesday, April 24, 2018 8:30 PM

All replies

  • Hi,

    Welcome to MSDN forum.

    >>I have created a simple Jmeter load script and running from my local machine.

    I tried to run same script with visual studio and it is not running.

    It is not supported to add/run Apache JMeter load test through VS 2017.

    There are many ways to run JMeter test: Five Ways To Launch a JMeter Test without Using the JMeter GUI.

    You can also Run Apache JMeter load tests with VSTS:

    https://docs.microsoft.com/en-us/vsts/load-test/get-started-jmeter-test?view=vsts

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, April 25, 2018 6:19 AM
  • I followed 

    https://docs.microsoft.com/en-us/vsts/load-test/get-started-jmeter-test?view=vsts

    I did not see any on 'Summary' and 'Charts'.  

    I see below error in log file. Please help me.

    2018-04-26 14:38:01,161 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
    2018-04-26 14:38:01,161 INFO j.CLTListenerPlugin: 6582c2d6-06df-433e-ace8-f70013031d02 - Test Ended. Last interval written : 3
    2018-04-26 14:38:01,161 WARN o.a.j.e.StandardJMeterEngine: Error encountered during shutdown of jmeterplugin.CLTListenerPlugin@7068e664
    java.util.NoSuchElementException: null
    at java.util.Collections$EmptyIterator.next(Unknown Source) ~[?:1.8.0_144]
    at java.util.Collections.max(Unknown Source) ~[?:1.8.0_144]
    at rawsamplemanager.components.RawSamplesCache.getLastInterval(RawSamplesCache.java:116) ~[vso-clt-1.0.jar:?]
    at rawsamplemanager.HttpRawSamplesCollector.getLastIntervalId(HttpRawSamplesCollector.java:69) ~[vso-clt-1.0.jar:?]
    at jmeterplugin.CLTListenerPlugin.testEnded(CLTListenerPlugin.java:99) ~[vso-clt-1.0.jar:?]
    at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:230) [ApacheJMeter_core.jar:3.2 r1790748]
    at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:498) [ApacheJMeter_core.jar:3.2 r1790748]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_144]
    2018-04-26 14:38:01,176 INFO o.a.j.r.Summariser: summary =      0 in 00:00:00 = ******/s Avg:     0 Min: 9223372036854775807 Max: -9223372036854775808 Err:     0 (0.00%)

    

    Thursday, April 26, 2018 2:44 PM
  • Hi,

    Thank you for the update.

    Please open a new case in stackoverflow to talk about it with VSTS tag, If you have problems about test in visual studio, please feel free to let me know. Thank you for understanding.

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, April 27, 2018 9:08 AM