Scripting - How to increase timeout for a specific step
|
12-29-2015, 04:13 PM
Post: #6
|
|||
|
|||
RE: Scripting - How to increase timeout for a specific step
I recently submitted a post to the Perf Planet blog about authentication that I think is relevant here. See http://calendar.perfplanet.com/2015/usin...tication/.
You appear to be using the DOM manipulation approach with a single navigation command. Besides the brokenness you described, this will also result in polluting the results with the overhead of signing in. The way to exclude this kind of bootstrapping is to use `logData 0` to ignore requests as you do some scripting, then enable logging before navigating to the actual test page. Relying on the redirection instead of explicitly navigating is likely to be your issue. Alternatively, you should consider the other approach mentioned in the post which is to set an auth cookie directly. This enables you to test the page without any login bootstrapping. You just pass in the preauthenticated session cookie so you can hit the test page without getting bounced. The script to do that is simply: setCookie http://www.example.com session=286755fad04869ca523320acce0dc6a4 navigate http://www.example.com/ |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Scripting - How to increase timeout for a specific step - sally - 11-04-2015, 04:18 PM
RE: Scripting - How to increase timeout for a specific step - sally - 11-10-2015, 11:10 AM
RE: Scripting - How to increase timeout for a specific step - arollest1 - 11-11-2015, 01:43 AM
RE: Scripting - How to increase timeout for a specific step - sally - 11-17-2015, 04:01 PM
RE: Scripting - How to increase timeout for a specific step - waem445 - 12-10-2015, 09:16 AM
RE: Scripting - How to increase timeout for a specific step - rviscomi - 12-29-2015 04:13 PM
|
User(s) browsing this thread: 1 Guest(s)