Proposal-Bulk-API-Template(Jmeter)

2018-01-19 Thread Surinder Kumar
Hello Team,

Please review my code as i want to introduce new bulk api template.

I have attached my code and user guide in bugzilla, bug ID is 61974, please
review and let me know if i can help you to provide more information about
it.

1.Its a bulk api template user can use it to test bulk api after customize
as per their projects
2.__FileToString used in code is to fetch the body data of API in jmeter
template in body data section

I can explain more by providing demo if required, right now i am using it
in my project, it will be really useful if we can add it as a template in
jmeter.

Thanks!

Regards
Surinder Kumar


Build failed in Jenkins: JMeter Windows #976

2018-01-19 Thread Apache Jenkins Server
See 


Changes:

[fschumacher] Place a dash or comma behind a pr element, when needed.

--
[...truncated 183.35 KB...]
   [jmeter] Created the tree successfully using testfiles/OS_TESTS.jmx
   [jmeter] Starting the test @ Fri Jan 19 13:31:35 UTC 2018 (1516368695834)
   [jmeter] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 
4445
   [jmeter] summary =  3 in 00:00:02 =1.3/s Avg:   349 Min:16 Max:  
1006 Err: 0 (0.00%)
   [jmeter] Tidying up ...@ Fri Jan 19 13:31:38 UTC 2018 (1516368698539)
   [jmeter] ... end of run
 [echo] OS_TESTS output files compared OK

batchtest:
 [echo] Starting FTP_TESTS with file FTP_TESTS.jmx using -X -Jdummy=dummy
   [jmeter] SLF4J: Class path contains multiple SLF4J bindings.
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   [jmeter] SLF4J: Actual binding is of type 
[org.apache.logging.slf4j.Log4jLoggerFactory]
   [jmeter] Creating summariser 
   [jmeter] Created the tree successfully using testfiles/FTP_TESTS.jmx
   [jmeter] Starting the test @ Fri Jan 19 13:31:41 UTC 2018 (1516368701877)
   [jmeter] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 
4445
   [jmeter] summary =  6 in 00:00:03 =2.0/s Avg:   301 Min:15 Max:  
1463 Err: 0 (0.00%)
   [jmeter] Tidying up ...@ Fri Jan 19 13:31:46 UTC 2018 (1516368706426)
   [jmeter] ... end of run
   [concat] 2018-01-19 13:31:46,307 WARN o.a.f.l.n.FtpLoggingFilter: EXCEPTION :
   [concat] java.io.IOException: An established connection was aborted by the 
software in your host machine
   [concat] at sun.nio.ch.SocketDispatcher.read0(Native Method) 
~[?:1.8.0_152]
   [concat] at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) 
~[?:1.8.0_152]
   [concat] at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) 
~[?:1.8.0_152]
   [concat] at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0_152]
   [concat] at 
sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_152]
   [concat] at 
org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:317) 
~[mina-core-2.0.16.jar:?]
   [concat] at 
org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:45) 
~[mina-core-2.0.16.jar:?]
   [concat] at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:683)
 ~[mina-core-2.0.16.jar:?]
   [concat] at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:659)
 ~[mina-core-2.0.16.jar:?]
   [concat] at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:648)
 ~[mina-core-2.0.16.jar:?]
   [concat] at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
 ~[mina-core-2.0.16.jar:?]
   [concat] at 
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1120)
 ~[mina-core-2.0.16.jar:?]
   [concat] at 
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) 
~[mina-core-2.0.16.jar:?]
   [concat] at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
~[?:1.8.0_152]
   [concat] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
~[?:1.8.0_152]
   [concat] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
   [concat] 2018-01-19 13:31:46,331 ERROR o.a.f.i.DefaultFtpHandler: Exception 
caught, closing session
   [concat] java.io.IOException: An established connection was aborted by the 
software in your host machine
   [concat] at sun.nio.ch.SocketDispatcher.read0(Native Method) 
~[?:1.8.0_152]
   [concat] at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43) 
~[?:1.8.0_152]
   [concat] at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) 
~[?:1.8.0_152]
   [concat] at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0_152]
   [concat] at 
sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_152]
   [concat] at 
org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:317) 
~[mina-core-2.0.16.jar:?]
   [concat] at 
org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:45) 
~[mina-core-2.0.16.jar:?]
   [concat] at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:683)
 

Jenkins build is back to normal : JMeter Windows #975

2018-01-19 Thread Apache Jenkins Server
See 




[GitHub] jmeter issue #343: Reduced the size of all screenshots.

2018-01-19 Thread FSchumacher
Github user FSchumacher commented on the issue:

https://github.com/apache/jmeter/pull/343
  
Thanks for your contribution. I ran the shell commands on current trunk, 
inspected the changed images and committed them.


---


[GitHub] jmeter pull request #343: Reduced the size of all screenshots.

2018-01-19 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/jmeter/pull/343


---


[GitHub] jmeter issue #371: Minor fix in 'XPath assertion' description

2018-01-19 Thread FSchumacher
Github user FSchumacher commented on the issue:

https://github.com/apache/jmeter/pull/371
  
Thanks for your contribution.


---


[GitHub] jmeter pull request #371: Minor fix in 'XPath assertion' description

2018-01-19 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/jmeter/pull/371


---


[GitHub] jmeter pull request #371: Minor fix in 'XPath assertion' description

2018-01-19 Thread kkalinin
GitHub user kkalinin opened a pull request:

https://github.com/apache/jmeter/pull/371

Minor fix in 'XPath assertion' description

## Description
Changed documentation for the component, as I'm sure it was incorrect.

## Types of changes
- Bug fix (non-breaking change which fixes an issue)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/kkalinin/jmeter patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jmeter/pull/371.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #371


commit 254c5d4f0a413ae44f91403b7a7a9f85f11f4984
Author: Konstantin Kalinin 
Date:   2018-01-19T09:49:49Z

Minor change in 'XPath assertion' doc.




---


Build failed in Jenkins: JMeter Windows #974

2018-01-19 Thread Apache Jenkins Server
See 


Changes:

[pmouawad] Add exceptions constructors

[pmouawad] Remove empty line

[pmouawad] Improve logging

[pmouawad] Drop mention of JMeter old version behaviour change

[pmouawad] Remove Ignore import

--
[...truncated 197.72 KB...]
   [jmeter] WARNING: An illegal reflective access operation has occurred
   [jmeter] WARNING: Illegal reflective access by 
com.thoughtworks.xstream.core.util.Fields 
(file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/xstream-1.4.10.jar)
 to field java.util.TreeMap.comparator
   [jmeter] WARNING: Please consider reporting this to the maintainers of 
com.thoughtworks.xstream.core.util.Fields
   [jmeter] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
   [jmeter] WARNING: All illegal access operations will be denied in a future 
release
   [jmeter] Creating summariser 
   [jmeter] Created the tree successfully using testfiles/FTP_TESTS.jmx
   [jmeter] Starting the test @ Fri Jan 19 09:33:31 UTC 2018 (1516354411349)
   [jmeter] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 
4445
   [jmeter] summary +  1 in 00:00:01 =1.3/s Avg:   741 Min:   741 Max:  
 741 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
   [jmeter] summary +  5 in 00:00:01 =3.9/s Avg:26 Min:13 Max:  
  52 Err: 0 (0.00%) Active: 0 Started: 1 Finished: 1
   [jmeter] summary =  6 in 00:00:02 =3.0/s Avg:   145 Min:13 Max:  
 741 Err: 0 (0.00%)
   [jmeter] Tidying up ...@ Fri Jan 19 09:33:33 UTC 2018 (1516354413848)
   [jmeter] ... end of run
 [echo] FTP_TESTS output files compared OK

batchtest:
 [echo] Starting Bug60607 with file Bug60607.jmx using -X -Jdummy=dummy
   [jmeter] SLF4J: Class path contains multiple SLF4J bindings.
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   [jmeter] SLF4J: Actual binding is of type 
[org.apache.logging.slf4j.Log4jLoggerFactory]
   [jmeter] WARNING: An illegal reflective access operation has occurred
   [jmeter] WARNING: Illegal reflective access by 
com.thoughtworks.xstream.core.util.Fields 
(file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/xstream-1.4.10.jar)
 to field java.util.TreeMap.comparator
   [jmeter] WARNING: Please consider reporting this to the maintainers of 
com.thoughtworks.xstream.core.util.Fields
   [jmeter] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
   [jmeter] WARNING: All illegal access operations will be denied in a future 
release
   [jmeter] Creating summariser 
   [jmeter] Created the tree successfully using testfiles/Bug60607.jmx
   [jmeter] Starting the test @ Fri Jan 19 09:33:35 UTC 2018 (1516354415652)
   [jmeter] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 
4445
   [jmeter] summary =  2 in 00:00:46 =0.0/s Avg: 22675 Min:   301 Max: 
45050 Err: 0 (0.00%)
   [jmeter] Tidying up ...@ Fri Jan 19 09:34:21 UTC 2018 (1516354461523)
   [jmeter] ... end of run
 [echo] Bug60607 output files compared OK

batchtest:
 [echo] Starting SlowCharsFeature_HttpClient4 with file 
SlowCharsFeature.jmx using -X -Jdummy=dummy
   [jmeter] SLF4J: Class path contains multiple SLF4J bindings.
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: Found binding in 
[jar:file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/opt/activemq-all-5.15.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
   [jmeter] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
   [jmeter] SLF4J: Actual binding is of type 
[org.apache.logging.slf4j.Log4jLoggerFactory]
   [jmeter] WARNING: An illegal reflective access operation has occurred
   [jmeter] WARNING: Illegal reflective access by 
com.thoughtworks.xstream.core.util.Fields 
(file:/F:/jenkins/jenkins-slave/workspace/JMeter%20Windows/trunk/lib/xstream-1.4.10.jar)
 to field java.util.TreeMap.comparator
   [jmeter] WARNING: Please consider reporting this to the maintainers of 
com.thoughtworks.xstream.core.util.Fields
   [jmeter] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
   [jmeter] WARNING: All illegal access operations will be denied in a future 
release
   [jmeter] Creating summariser 
   [jmeter] 

New Components : Loop Breaker Post Processor

2018-01-19 Thread Philippe Mouawad
Hello,
I think there is a need for a new components that is to be used in
combination with:

   - Loop Controller
   - While Controller
   - For Each Controller
   - Thread Group main loop

See those (I remember seeing them mny times):

   -
   
https://stackoverflow.com/questions/12238409/how-to-make-jmeter-wait-for-a-page-answer
   -
   http://blog.sourcepole.ch/2011/01/04/waiting-for-a-page-change-in-jmeter/
   -
   
https://stackoverflow.com/questions/18340193/how-to-wait-for-some-event-to-complete-in-jmeter-load-tests
   - ...

Indeed, we frequently have the case where we need to run a loop until a
response contains something (Wait screens).

I see the following required properties:

   - Test condition:
  - Interpret condition as Variable Expression (checked)
  - Expression (evaluate to true/false)
  - Action to be taken if condition:
  - Break current loop (Will set a Variable to break current loop ,
  which in case of an immediate child of Thread Group will be equivalent of
  Start Next Thread Loop)
  - Start Next Thread Loop (useful in case of an element which is not
  an immediate child of ThreadGroup)
  - Stop thread
  - Stop test
  - Stop test now

Thoughts ?

-- 
Regards.
Philippe Mouawad.
Ubik-Ingénierie