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. You can find this functionality 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.
- 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 generate test responses with an authenticator element in your survey flow.
- You cannot 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.
- 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.