The Test tab of your survey provides you with several options for testing your survey. One of these options is a tool for generating test responses. This tool will run SurveyGizmo's test-response generator and provide you with sample responses.
This sample data will allow you to better understand how survey data will be presented within your reports and exports.
To learn about other testing tools check out our Testing Your Survey Tutorial.
- To get started generating test responses navigate to your survey's Test tab.
- Click the button to Generate Test Responses.
- Indicate the Number of Test Responses that you would like to generate.
- If your survey is utilizing the Percent Branch Action, choose your preferred Response Scope:
- Across all branches - generates a random set of data which may not generate data within each possible branch
- For each branch - test data will be generated within each branch ensuring that no branches are left without data
- Use the Advanced Options to customize the following settings:
- If you wish to have test responses obey and follow survey logic check the Test survey logic option. Learn more about which survey logic settings are compatible with the test data generator.
- If you'd like to Generate random open-text values leave this option toggled.
- If you'd like to Simulate Geodata for test responses to display on the response map, toggle this option.
- To Randomly set submission date of test responses, check this option. If uncheck the date and time the response was generated will be used in the Date Submitted field.
- You can also Trigger HTTP GET/POST (Webhook) actions if you have them.
- Finally, check the option to Include URL Parameters for testing if you wish to test URL variables. Learn more about how to use this feature below.
Passing in URL Variables for Testing
If you are using URL variables to customize your survey respondents' experience via logic or pre-population the test data generation option Include URL Parameters can be used to test this experience.
To use this option, first, check the Include URL Parameters option. In the field that appears add your URL variable/s.
While query strings typically start with a question mark, we've included that for you so leave that out. Then simply join the URL variable and value you wish to test with an equals sign. If you wish to test more than one URL variable, simply join these using an ampersand.
So, for example, if you wanted to test the URL variable named 'userid' with a value of '121,' and also include a variable 'name' with a value of 'Bob' you would add the following:
userid=121&name=Bob
Compatibility
Compatible Question Types
Data created via the test data generator is not compatible with the following question types:
Compatible Survey Actions
JavaScript Actions will not be fired when using the Generate Test Responses feature.
Compatible Survey Logic
If the option to Test survey logic is checked the following logic types will be applied in your test responses:
- Question Logic
- Page Logic
- Answer Option Logic
- Skip Logic
- DQ Logic
- Option Piping
- Question Repeating
- Page Repeating
- Admin Logic Settings: Admin Questions and Admin Pages
- Hidden By Default logic setting
Questions hidden via CSS (including the use of the sg-hide CSS Class) will not be obeyed when using the Test Survey Logic setting in generated test data.
Admin
— Mike Cordeiro on 04/16/2020
@Reem: Thanks for your question!
Regrettably, there is not a way to test only completed survey responses with the generate test responses feature. With this, I suggest that generating large sets of responses and moving ones that are disqualified to the trash.
I hope this helps!
Mike
Technical Writer
SurveyGizmo Learning and Development
— Reem on 04/13/2020
Hi Bri, I am trying to generate test data but all I am getting are disqualified responses. I have 6 screener questions with DQs. Is there a way to generate the test data but only get complete responses?
Admin
— Bri Hillmer on 12/17/2018
@Benson: The test data generator does not currently obey randomization. I'll make note of this for discussion as a possible future improvement with our development team!
Bri Hillmer
Documentation Coordinator
SurveyGizmo Customer Experience Team
— Brad on 12/17/2018
I've got a survey with an extensive "Question Bank" - users will receive 10 questions out of a possible 90+. I noticed after supplying 400+ Test Responses that the computer seems to be answering each of the questions. Do Test Responses not respond to the option to answer a specific number of randomly selected questions on a page?
Admin
— Dave Domagalski on 07/26/2018
@Ckirsch: Thank you for your question!
I can confirm that the Test Response Generator will not fire off JavaScript Actions (I have now noted that within the article).
I'm sorry for any confusion that may have caused during your testing!
David
Documentation Specialist
SurveyGizmo Customer Experience
— Ckirsch on 07/26/2018
It doesn't seem that Generating Test Responses will fire off Javascript Actions - working as intended? I'm using the Script for the Radio Grid that only allows them to choose one per column.