|Summary||This article describes how to simulate a respondent using the websimulator.js plugin. It is generally used to test routings in a live environment.|
|Applies to||AskiaDesign, AskiaWeb|
|Written for||Scriptwriters and survey authors|
|Keywords||simulator; logic; conditions; web|
This plug-in allows you to simulate a respondent.
It will randomly select one (or more) response(s) and will automatically submit the form.
It is generally used to test routings in a live environment.
The system will take the text of questions to fill the open-ended question, so all languages can be tested by the system.
To use this, you only need to insert the suggested script into the page.
Avoid displaying error message by alerts. The script will always try a new combination while, there is an error.
At the end of survey redirect back to the start of the same survey.
Add the following code in your Head in the internet settings:
In the final page, set the following code to redirect to your survey:
<meta http-equiv="refresh" content="0;url=../cgi-bin/askiaext.dll?Action=StartSurvey&T1=EX">
Make sure to replace the URL parameter with the URL of your survey.
Note: once you reached the number of interviews to simulate, update the survey and delete the redirection in the Final Page.