SoapUI Beginner Tutorial 6 - How to Get and Set Properties through GROOVY scripts

preview_player
Показать описание
Today we will learn:
1. How to get property
2. How to set property
3. How to add property
4. How to remove property
5. How to loop through all properties

References

Notes

// Get and Set Property

//Project

//TestSuite

//TestCase

//TestStep

//Global

// Add Property

// Remove property
//Project
//TestSuite

// Loop through properties

{
key,value -
}

_______________________________________________________

SoapUI Playlist -

Subscribe on:

________ ONLINE COURSES TO LEARN ________

Рекомендации по теме
Комментарии
Автор

Hi Raghav,
I'm Michael from Hungary. I will start as a junior automation tester in October and your videos are quite useful, so thank you very much. I have the intention to watch all of your videos. Your explanations are so clear and understandable. You are an excellent teacher. Thanks again.

mihalykelemen
Автор

I really like the way you create a slide at the end with the overview and some tips, great!!

testingtrail
Автор

Exceleentway of teaching- to the point i would say. thanks

sharatchandra
Автор

Very good Raghav, thanks for these tutorials

jeremyhogan
Автор

Excellent groovyscripting 100% use video Please do more videos iam waiting for your videos really great job

performancetestengineer-go
Автор

Excellent work.Thak you for amazing work

rakhirahman
Автор

Nice explanation thank you!! Do we need to preinstall Groovy script in our machine to follow this session?

mayankjain
Автор

Hi,
Excellent video. Just had a question - so getPropertyValue and context.expand is doing the same thing right? Both are used to fetch property values?

niazmaksud
Автор

Hi Raghav,

Its nice video but some confusion in it .
in your previous video you described to get the property value by Context class and in this video you get the property by testRunner class . can you tell me what is the difference between it and when we used these classes .
And also let me know how i learn groovy upto soap level please refer material.
Thanks .

bhupendersingh
Автор

Very informative sessions. I would like to know if there is a option to extract execution report with the Test case title and result as Pass /Fail from Soap UI. If yes, can the execution report be exported to excel document

girijaramanand
Автор

Dude, You're absolutely the best. I was loosing my mind looking for an answer and then I saw Your video. Totally saved my ass, thanks

SerialWaffleStomper
Автор

hi...could u please help me in setnodevalue and getnodevalue functions, as I am unable to pass values in request through groovy. so any demo script u can provide will be helpful. and also ur way of teaching is awesome, can grasp things quickly.

latasingh
Автор

Hi Raghav, I didn't get tthe output for global Property
log.info "Virtusa consulting services pvt ltd"
def
log.info("Company name is : "+name6);
Even if i give the value to the name global property through preferences .
output:
Tue Nov 12 22:55:46 IST 2019:INFO:Virtusa consulting services pvt ltd
Tue Nov 12 22:55:46 IST 2019:INFO:Company name is :

vipintekade
Автор

Hi Raghav,
Very informative and helpful videos, can we create library class using groovy script ?
can you please create videos for ServiceV groovy scripts how to handle endpoints communication with client applications

krishnadasari
Автор

Hi Raghav, can you please share what is the syntax to 'Add a property' and 'Remove a property' and 'Loop through properties' at a Test Step level?

ashishnaidu
Автор

Raghav these 22 vedios are enough for handle Project in real time? or we need learn more about SoapUI to handle Realtime Project?

krishnayadlapalli
Автор

Without giving input request manually can we give as pick it from specific location

maheshtaninki
Автор

Hi Raghav, I am able to get the property using context but getting error whenever I try to get the property with testRunner. The error is: "No such property. TestRunner for class: Script1". Any idea how to resolve this?

vaibhavchavan
Автор

Hi Raghav, thanks a ton for your videos !
i hav a property named prop1 which can take only 3 values - A, B and C.
Is it possible that during runtime, one of 3 random values will be set for prop1 ? if this is possible, Can you please share URL of the video ? thanks in advance !

SuperNewbie
Автор

Raghav,
Can you do getproperty and setproperty for dynamic values and pass it in another request/ response like we do it with property transfer
.
If yes, can you guide how?

abhijeetsingh
join shbcf.ru