Millisecond Forums

Script Monkey Online

https://forums.millisecond.com/Topic18555.aspx

By lakeside - 3/10/2016

Is there a way to run the script monkey for web scripts? I would like to generate test data for scripts hosted on Millisecond to help flesh out our data out procedures.
By Dave - 3/10/2016

Yes, there is. If you look at a launch page's source code, there is a variable that can be set to true to run the script in monkey-mode:

// Specify true or false for the script to run in monkey mode
var MonkeyMode = false;

You can set it to true directly in your browser by using the browser's developer tools features. For example, in Firefox, open the launch page and press F12 to open the developer tools. Go to the console tab, type

var MonkeyMode = true;

and press enter.

Click the start button on the launch page, and the script will be completed by the monkey.

https://www.millisecond.com/forums/uploads/images/a578f6ac-ea0e-4e8b-9271-5ba8.jpg
By Kambo - 11/4/2021

Dave - 3/10/2016
Yes, there is. If you look at a launch page's source code, there is a variable that can be set to true to run the script in monkey-mode:

// Specify true or false for the script to run in monkey mode
var MonkeyMode = false;

You can set it to true directly in your browser by using the browser's developer tools features. For example, in Firefox, open the launch page and press F12 to open the developer tools. Go to the console tab, type

var MonkeyMode = true;

and press enter.

Click the start button on the launch page, and the script will be completed by the monkey.

https://www.millisecond.com/forums/uploads/images/a578f6ac-ea0e-4e8b-9271-5ba8.jpg

Heya!

Is there a way to run monkey mode multiple times in the browser?

- Heidi
By Dave - 11/4/2021

Heidi Umbach Hansen - 11/4/2021
Dave - 3/10/2016
Yes, there is. If you look at a launch page's source code, there is a variable that can be set to true to run the script in monkey-mode:

// Specify true or false for the script to run in monkey mode
var MonkeyMode = false;

You can set it to true directly in your browser by using the browser's developer tools features. For example, in Firefox, open the launch page and press F12 to open the developer tools. Go to the console tab, type

var MonkeyMode = true;

and press enter.

Click the start button on the launch page, and the script will be completed by the monkey.

https://www.millisecond.com/forums/uploads/images/a578f6ac-ea0e-4e8b-9271-5ba8.jpg

Heya!

Is there a way to run monkey mode multiple times in the browser?

- Heidi

These days, you can launch a script in monkey mode by appending MonkeyMode=true as URL parameter to the launch URL.

No built-in way to repeat that X times, but you can certainly automate launching repeatedly using your preferred scripting or programming language if you want to.