Contributions
Re: Adding assertions automatically to a test case
I believe you are trying to add assertions to test step right? Either way, i don't think soap ui has any functionality to add certain assertions automatically. You can however run a groovy script from within a test case or like a start up script to add assertions that you need to all the desired test steps in same test case or multiple test cases. There is already another topic discussing how to do this. Maybe you can get some pointers from there. Here is the link: viewtopic.php?f=5&t=359 Regards, Deepesh Jain1KViews0likes1CommentRe: Datasource value not being replaced in xml request
apandit wrote: 1. The PRO license has not expired. I am able to invoke non-REST service with data source and it definitely inserts correct values 2. I double checked and it is referring to the correct Datasource. Any other suggestion? I have attached the project file if that helps. Thanks, Okay, i did try your project. There seems to be a problem loading the values directly from the data source. There fore you need to include a property transfer step which would take properties email and mobile phone from the data source and populate them to request. You would also need to reconfigure your data source loop then to point the target step to properties step. I have modified your project and attaching it here for your reference so that you can refer the property transfer step. Hope this helps. Regards, Deepesh Jain1.4KViews0likes0CommentsRe: please help on transfer a value to a attibute
Here are the steps you need to take: 1. Create a new properties step just before your request step and create a property there with some name. 2. Assign it the value you are looking for to transfer. 3. Go back to request, select the value ("111111111") and right click, select get value from, and select properties and the property name you created. It should work. Regards, Deepesh Jain871Views0likes0CommentsRe: Create a Login Test
Sure. Basically you need to understand what you are getting in the response and what you need. To begin with you are getting a big string in your response for the value of node "LoginResult". Now out of this BIG string, you are trying to capture a substring ("SessionID":"c121d901-22dc-40ec-8562-4aefaccc893b","UserID":"aa819828-78b1-4007-96d4-49113fdf5ef6") Unfortunately, the only way to do is this through groovy scripting. You can create a groovy script after your test request, read the value of session id and use basic string - substring function to get session id and use it as per your needs. Regards, Deepesh Jain876Views0likes0Comments