Contributions
Re: Compara response (JSON) with data in mongodb.
Depends....what is your response type? Is it just one attribute or an array? Single attribute is easy by using the assert command. assuming your db.V1Project.findOne is working and also returns the same type as your response with single attribute def response = context.expand( '${GET 1 Project#Response#$.PROJECT.UUID}' ) def tmp_uuid = db.V1Project.findOne('content.PROJECT.UUID': response) assert response == tmp_uuid However, if your response is complex type such as a json array... you many need to look into a json sluper to find the attribute that you want to check. Good luck.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions991Views0likes0CommentsRe: liquibase.exception.LockException: Could not acquire change log lock. locked by the system
I had the same issue and takes 4-5 mins for ReadyAPI to startup. I fixed it by going to this folder C:\Users\yournamehere\.readyapi\db and moved the files to somewhere. I think readyapi.trace.db is the file that casuing the problem for me which should not be there. When ReadyAPI is running.... you will see 2 files: readyapi.h2.db readyapi.lock.db When you close it.... only readyapi.h2.db should be in the folder. Hope that helps.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes0CommentsAssertion with an external xml
Hi all, I am totally new to this, just used SoapUI for less that 4 hours. I am trying to add assertion to a rest call. I would like to be able to make a REST call, and then assert the result. I know how to do that with a xpath of from the resultant xml and assert it with the constant value. My question is, is it possible to compare the result with another external file or xml? Thanks in advance. Tom.750Views0likes0Comments