0

I am using SOAP UI to perform test with few steps.I need to use a JDBC request's output to use as a input parameter for another REST(POST) request. Should I use property transfer or a groovy script? Can somebody help ?

Edit:

enter image description here

From Yellow marked JDBC_Get_Random_Number, a query return a single number .I need to use it as a input for RegisterCall , which is a REST request(POST)

enter image description here

JDBC call output should be used as a randNum value. Thanks

mnhmilu
  • 2,327
  • 1
  • 30
  • 50
  • It depends on you. Chose what you are comfortable with. Groovy will have better flexibility, but requires to write the script. – Rao Apr 07 '16 at 06:15
  • Provide input data and which value needs to be passed to rest test step. Happy to help. Please update the question for doing so. – Rao Apr 07 '16 at 06:39
  • Here is more to clarify! – mnhmilu Apr 07 '16 at 09:33
  • Not sure how your jdbc result going to be, so required for that. screen shot is not really required in this case. or is it that you can use any random number in json with needing to run jdbc step? – Rao Apr 07 '16 at 10:22
  • Already solved this problem! these below link help me a lot http://stackoverflow.com/questions/31160715/how-could-i-set-value-of-json-object-as-a-request-in-soapui – mnhmilu Apr 07 '16 at 11:58
  • @albciff already upvoated ! – mnhmilu Apr 11 '16 at 16:14
  • @mnhmilu thanks `:P` – albciff Apr 11 '16 at 16:45

0 Answers0