File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes More than 75% request failures using JMeter... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "More than 75% request failures using JMeter..." Watch "More than 75% request failures using JMeter..." New topic
Author

More than 75% request failures using JMeter...

Binoy Sankar
Greenhorn

Joined: May 29, 2012
Posts: 3
Hi guys,

This is my first post in the forum. so please excuse me if this topic is relevant here.
Am using JMeter to run multiple requests for testing the application. The sampler used in Jmeter is Webservice(SOAP) request. The settings for the Thread group in JMeter is 10 users/threads which run for 10 min.

The requirement for my application is that the code does a SELECT query to get all the records in the db for the particular category and inserts the newly created data(which is fairly simple logic). The probs is that when I use the soapUI tool to send one request at a time it successfully returns the response. But when used in JMeter with the above settings
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SIAM_NFR_I2_3.MASTER_AGREEMENT_UK1) violated
occurs. As its a JPA implementation I have specified the one-to-many relationship with CascadeType.ALL in the Entity class. With the in-depth debugging found that multiple threads which JMeter creates executes concurrently and creates the same (read masteragreementcode) which is the a unique code. I have made the method synchronized but it's of no help.
I hope you understood the requirement/problem else I can explain more .


Thanks
Binoy
Binoy Sankar
Greenhorn

Joined: May 29, 2012
Posts: 3
No body here
 
Consider Paul's rocket mass heater.
 
subject: More than 75% request failures using JMeter...
 
Similar Threads
Hibernate hangs with Jetty,Cocoon!?
Hibernate hangs with Jetty,Cocoon!?
Webapps thread basic questions
Can not get stable result when using multiple threads to calculate the average response time