Nagravision_SA__1
12 years agoContributor
How to search for a value in .txt file using groovy script.
Hello,
Actually i have a *.txt Data source file which contains many rows and in each row there is a data something like ID,StartAvailability,EndAvailability. Now in this file i want to search for a particular ID. Once this found then i want to update other values of the same row something StartAvailability or EndAvailability etc. After that i want to set the data source current row to 1. Then again in the loop go through for another ID. I don't know if we can do this without groovy script in Soapui Pro. If yes please tell me how i can do in the SoapUi Pro. if not then please tell me also how i can do via groovy script. I am new in groovy script.
Thanks !!
Regards
Actually i have a *.txt Data source file which contains many rows and in each row there is a data something like ID,StartAvailability,EndAvailability. Now in this file i want to search for a particular ID. Once this found then i want to update other values of the same row something StartAvailability or EndAvailability etc. After that i want to set the data source current row to 1. Then again in the loop go through for another ID. I don't know if we can do this without groovy script in Soapui Pro. If yes please tell me how i can do in the SoapUi Pro. if not then please tell me also how i can do via groovy script. I am new in groovy script.
Thanks !!
Regards