In this post I will explain you how to add a delay to a response when working with mock services in SOAPUI. This is quit simple, in-order to create a SOAP UI mock service you follow this guide. After creating a mock service do the following to add a delay to the response.
1. Open The mock service and click on the specific action and open the response tab as shown below.
2. Now from dispatch option select Script option.
3. Now add the following code to the content. Please note that I'm using groovy as the scripting language and you can change this from settings.
You can change the delay by changing the value note that the value is specified in milliseconds. This will add a delay to the response. :)
1. Open The mock service and click on the specific action and open the response tab as shown below.
2. Now from dispatch option select Script option.
3. Now add the following code to the content. Please note that I'm using groovy as the scripting language and you can change this from settings.
Thread.sleep(5000)
You can change the delay by changing the value note that the value is specified in milliseconds. This will add a delay to the response. :)
Van
ReplyDeleteizmir
Artvin
Tunceli
Eskişehir
26MT2G
maraş evden eve nakliyat
ReplyDeletemaraş evden eve nakliyat
izmir evden eve nakliyat
konya evden eve nakliyat
erzurum evden eve nakliyat
İBSH
81AA5
ReplyDeleteAksaray Parça Eşya Taşıma
Düzce Lojistik
Çorum Şehir İçi Nakliyat
Urfa Lojistik
Şırnak Şehirler Arası Nakliyat
Sivas Lojistik
Çerkezköy Oto Boya
Çerkezköy Yol Yardım
Ankara Lojistik
1E9CA8F065
ReplyDeletesteroid satın al
steroid
www.ijuntaxmedikal.store
görüntülü show
cialis
skype show