Contributions
Security Certification while testing request/response
Hi, I am trying to configure the security parameters to access the secure webservices via SoapUI. Having said that, all the steps that are mentioned http://www.soapui.org/soapui-projects/ws-security.html are being followed but still I'm unable to access the secure facade. Just wanted to know if I'm missing something here? or do we have any alternative to resolve the issue?492Views0likes0CommentsRe: Environment Custom Property Value not being picked up
Hi Team, I faced the similar Problem and below is the workaround that I applied in my SoapUI. Possibly, you can try if wish to. 1) Create a empty property at Project level. E.g. Account Number 2) Add a Groovy Script where you usually add Property Transfer step. Remove Property Transfer step. 3) Make Sure you empty the Property everytime before and after the run. This is good practice. //Trigger of Transfer property through Groovy def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) def XmlUtils = new com.eviware.soapui.support.xml.XmlUtils() def project = context.testCase.testSuite.project //Empty Property Transfer before starting of the script project.setPropertyValue("Account Number","") //Define the Response Content that you wish to transfer (You can generate this by Right Click > Get Data > Select Request > Response > Value) def accountNum = context.expand( '${rq_createAccount#Response#declare namespace man=\'xxx:xx.xx.xxx.xxxxx.xxxxxxxxxx:1-0\'; //man:CreateAccountResponse[1]/Account[1]/@account_number}' ) //Transfer to Project level project.setPropertyValue("Account Number", "$accountNum") Below script worked for me and I am able to switch between 5 different env to run my test. Hope the above helps Prashant Nagrecha10 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.8KViews0likes0CommentsTransferring JSON Response to subsequent Request
Hi, I am executing a scenario where "login" generates Set-Cookie value as part of Header in the Response. The value of the same needs to be transferred in subsequent request's Header. We cannot use Property transfer as it doe not have the ability to transfer the header response to header request. Hence, not aware the best way to do it. Thanks,915Views0likes2Comments