I am new on SoapUI pro, here is the scenario.
I have four methods namely (create, update, delete, and get) for the event service, so from my update json I need to pass the eventCode which is generated from the create Method.
I am able to connect to the DB and I am also aware of the datasource and JDBC Request.
Can you please suggest a way or a link on how I can achieve this.
Thanks in advance,
Solved! Go to Solution.
Can you please share a sample response from the jdbc request?
Thanks for the reply, please see the screen for from my jdbc response,
To update the very same results I need to pass the event code in my json (below)
I can update any parameter aslong as I am passing the correct/existing code.
As I mentioned I need to find a way that I can be able to read the code from the DB and pass it to my json without doing it manually, bacause we have to intergrate this with jenkins
I am sorry. I don't get what that event code is. Can you help me out here?
Ok, I am sorry but I still don't know exactly what you are trying to extract. Nevertheless there is a Property Trasnfer step in SoapUI. So you could:
1. Create a TestCase property (see more about properties here);
2. Add a Property Transfer step
3. Reference the property wherever you need. (info about referencing properties are also in the link I provided)