QuestionQ65

VerifiedPerformance Testing Tasks

Scenario —

You are asked to performance-test a software and system update for a North American mobile trivia quiz-game application. The quiz app is offered through major app stores to English-speaking users. It is planned for 5 million concurrent users. Winning quiz participants are promised a share of an allocated cash prize. After participants begin playing, their quiz sessions must not be lost, particularly when all prior questions have been answered correctly. The application owner needs 99% of quiz sessions to be retained (up to 4.95 million sessions) until the final answer is successfully recorded.

To prevent cooperation among quiz participants, the multiple-choice answers are presented in random order. Confidence in the game’s fairness requires that a registered user originate from only one quiz-client device. Each user must respond within the same short time window to prevent external assistance and learning the official answer before responding. Only participants who answer correctly can proceed to the next question. Any activity that appears to breach the expected behavior of a rule-following participant causes the client session to be rejected.

You are developing test-script code to handle quiz-question responses. You must ensure that the script emulates the production quiz-app client’s logic for rule following and the client-backend interface specification.

Based on the described quiz behavior, which test-script behavior would you implement to ensure the script successfully delivers the operational and load profile of a quiz participant?

Explanation

A quiz participant may continue only when the preceding response is correct. The test script must determine the result of each response and use it to control whether the virtual user proceeds to the next question, thereby modeling the application’s required participant flow.

Community Discussion

No comments yet. Be the first to start the discussion!