Imported from Bitbucket
Don't set timeout when we can't create client

heads

tip
browse log

clone

read-only
https://hg.sr.ht/~henryprecheur/selenium-surfer
read/write
ssh://hg@hg.sr.ht/~henryprecheur/selenium-surfer

#Selenium surfer

A small selenium load testing tool.

It opens n seleniun sessions and repeatadly load URLs from this session. The list of URLs to load are passed from stdin, and a CSV of the result gets written on stdout.

Here's how you run it:

echo http://www.example.com/ | ./selenium-surfer 'http://my.selenium.server/wd/hub'

You can load multiple URLs, the following example loads example.com 1000 times:

yes http://www.example.com/ | sed1000q | ./seleniun-surfer 'http://my.selenium.server/wd/hub'

By default, selenium-surfer spawns 4 workers routines. To bump it use the --workers option.

#Dependencies

  • github.com/jessevdk/go-flags
  • github.com/tebeka/selenium