Groups
Groups
Sign in
Groups
Groups
jmeter-plugins
Conversations
About
Send feedback
Help
Using Thread.sleep() in Webdriver Sampler
3,617 views
Skip to first unread message
Tom Tran
unread,
Aug 11, 2016, 5:17:05 AM
8/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jmeter-plugins
Hi all,
With Selenium Webdriver, we can use
Thread.sleep(
milliseconds
)
to pause the script for an amount of time.
Can we do it in Webdriver Sampler? If yes, please help to show me an example.
Many thanks.
gli...@gmail.com
unread,
Aug 11, 2016, 9:04:37 AM
8/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jmeter-plugins
You just use the same method in the WebDriver Sampler like:
java
.
lang
.
Thread
.
sleep
(
milliseconds
)
Demo:
References:
Using Java From Scripts
The WebDriver Sampler: Your Top 10 Questions Answered
Tom Tran
unread,
Aug 11, 2016, 12:26:46 PM
8/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jmeter-plugins, gli...@gmail.com
Many many many many thanks
G
linius...
I solved my problem.
Reply all
Reply to author
Forward
0 new messages