Skip to content

Mobile web simulator #2398

@manumoreira

Description

@manumoreira

General idea

There should be a way to test the mobile web mode for massive surveys as we do with IVR and SMS

As mobile wab is a web form that is triggered from a URL sent by SMS it shouldn't be too complex to create a simulator that answers the questions randomly.

As the SMS and IVR follow the same logic for triggering the question answer process:

Input Reply
#hangup hang up
#oneof:N,M,O one of the the following numbers: N, M or O
#numeric:N-M a number between N and M (including them)

It should also adopt the env variables that make sense in the mobile web context.

Variable Default Description
NO_REPLY_PERCENT 0.0 Percent of respondents that don't reply (doesn't reply to the call, or sends digits=timeout on gather when timeout is reached)
DELAY_REPLY_MIN_SECONDS 1 Minimum delay in seconds to reply
DELAY_REPLY_MAX_SECONDS 5 Maximum delay in seconds to reply
INCORRECT_REPLY_PERCENT 0.0 Percent of respondents that reply an incorrect answer
MAX_INCORRECT_REPLY_VALUE 99 Maximum value replied as an incorrect answer
STICKY_RESPONDENTS true If true, once a respondent replies, it will always reply during the same call
DELAY_HANG_UP_SECONDS 5 Delay in seconds to hang up (applying to the #hangup rule)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions