About Generating Test Responses
If you want to see how your dataset or reports will look before sending out your survey, but you don’t want to complete the survey yourself over and over, you can generate random dummy data through the Generate Test Responses feature. You can find this feature in the Tools menu of the Survey tab.
If you are looking to go through the survey yourself, but don’t want any response you submit to count towards your auditable responses, check out the Preview Survey function instead.
Generating Test Responses
- In the Survey tab, click Tools.
- Highlight Review.
- Select Generate Test Responses.
- Enter how many test responses you would like to generate.
- If desired, click Options and select any additional parameters you want to include.
- Click Start Test to generate the responses.
After waiting for your test to be completed, you will be shown a list of the test iterations, along with a Survey Test Summary. This summary includes a number count of test iterations, saved responses, and average questions per test.
The Options menu in the Generate Test Responses window allows you to enable the following items:
- Allow unanswered questions: Permit the test generator to leave questions unanswered at random. Do not enable this if you have Force Response on any of your questions.
- Show verbose output: Show more details concerning each test iteration, including which questions and blocks were tested, which order the questions were displayed in, and whether randomization was applied.
- Additional URL parameters: Enter parameters as if you were appending them to the end of the survey link. For example, you could set an Embedded Data field value for your test responses by entering State=Utah&City=Provo. This option can also be used to answer test survey questions in a specific way by using the Q_PopulateResponse parameter.
Qtip: For adding Embedded Data to test responses, you must make sure that you have an Embedded Data element in your Survey Flow to capture the Embedded Data values. Additionally, the syntax you use to define the Embedded Data and their values must follow this format: &FieldName1=value1&FieldName2=value2. You may have as many Embedded Data fields as you’d like as long as they are separated by ampersands and the syntax is not interrupted by any spaces or other characters.
Deleting Test Responses
- Navigate to the Data & Analysis tab.
- Click Tools.
- Highlight Delete Data.
- Select Survey Tests.
- If you have set up quotas, select Decrement all quotas for deleted responses. If you did not, you do not have to worry about this step.
- Select the I am sure I want to delete responses checkbox.
- Click Delete all survey tests.
The following are other items to consider when using Generate Test Responses.
- Generate Test Responses randomly generates dummy data, including random Latin text for Text Entry and Meta Info questions.
- You cannot use Generate Test Responses with an Authenticator element in your Survey Flow.
- You cannot use Generate Test Responses with a Table of Contents and a Loop & Merge block.
- Custom Validation will not be applied to test responses.
- If you have set up impossible or incomplete validation, the test responses will not generate correctly, just as a real respondent wouldn’t be able to pass the validation.
- If you are using screen outs, you may see “Survey Response Not Saved” while generating test responses. This indicates that the test response was screened out when it randomly answered the survey.
- Generate Test Responses will fill quotas and fire actions (such as email or XM Directory tasks), Contact List Triggers, Email Triggers, and Salesforce Response Mapping, if applicable.
- Testing Timing questions may give unexpected results such as a Page Submit time that is before the Last Click time.
- The Captcha Verification question will be ignored by the test generator.
- File Upload questions will upload a test file.