theplayer777
9 years agoFrequent Visitor
CannotAcquireLockException with data driven testing in Soap UI
Hello,
I'm doing some data driven testing using SOAP webservices which select and insert data in a MySQL database. Running them locally on my machine even with testrunner implementation in SoapUI return me no error and everything goes perfectly. When I run them through Jenkins with testrunner.sh command line, It seems that I have a deadlock issue:
org.springframework.dao.CannotAcquireLockException: could not insert:....
I don't know how I could manage this and make it work. I tried to put some delay (2 seconds) between each test but it doesn't seems to solve the problem.
Thanks in advance for you help