Getting Started
StaticTest Engine is a simple, no-server-required practice test application. You provide the questions in JSON format, set a timer, and take the test. Your answers are stored in your browser's local storage.
Warning
It is important that we do not copy actual exam questions and create a simple brain dump. Doing so is both legally and ethically unacceptable. It is also not effective for learning the material. Instead, make your own question set. Either do it your self or use AI with human review.
Step 1: Prepare Your Test Questions
Create a JSON file containing your test questions. The file must be a valid JSON array with objects following this structure:
{
"question": "What is 2+2?",
"options": ["3", "4", "5", "6"],
"answer_index": 1
},
{
"question": "What is the capital of France?",
"options": ["London", "Berlin", "Paris", "Madrid"],
"answer_index": 2
}
]
Important:
question— the question text (string)options— array of answer choices (strings)answer_index— the zero-based index of the correct answer in the options array
Step 2: Load Your Questions
You can load questions in two ways:
- Upload a JSON file: Click "Browse..." and select your .json file. The app will validate and load it.
- Paste JSON directly: Copy and paste your JSON data into the "Paste JSON Data" textarea and click "Start Test".
After loading, the "Data Status" section will show how many questions were loaded. If there's an error (invalid JSON or missing required fields), you'll see an error message.
Step 3: Set a Timer
Enter the number of minutes you want for the test. For example, if you want 60 minutes, enter 60. The timer starts when you click "Start Test" and counts down in real-time.
If the timer reaches 0:00, the test automatically finishes and shows your results.
Step 4: Take the Test
Once you've loaded questions and set a timer, click the green "Start Test" button. The app will show:
- Timer: Time remaining for the test (updates every second)
- Progress: Your current question number and total (e.g., "5 / 100")
- Question: The question text
- Options: Four multiple-choice answers; click anywhere on an option to select it
- Navigation: Use "Previous" and "Next" buttons to move between questions
Your answers are automatically saved as you move between questions. If you close the page, you can reload it and the app will resume where you left off (until the timer expires).
Step 5: Review Your Results
When you finish the test (by clicking "Finish Test" on the last question or when the timer expires), the app shows:
- Your Score: Percentage and raw count (e.g., "85% (85 / 100 correct)")
- Review Answers: Click this button to see all questions you answered incorrectly, with the correct answer highlighted
- Retake Test: Start a new test using the same questions and timer settings
- Load New Set: Go back to the setup screen to load different questions
Local Storage & Privacy
StaticTest Engine stores all your test data in your browser's local storage, including:
- Your loaded questions
- Your answers
- Your timer settings
This data is never sent to a server — everything stays on your device. Clearing your browser cache or local storage will delete this data.
Troubleshooting
Q: I uploaded a JSON file but got an error.
A: Check that your JSON is valid and includes all required fields: question, options (array), and answer_index (number). Use a JSON validator (e.g., jsonlint.com) to check your file.
Q: The timer didn't start or the test didn't begin.
A: Make sure you've set a valid timer (greater than 0) and loaded at least one question before clicking "Start Test". Both are required.
Q: Can I edit my answers after finishing?
A: No, the test is locked after you finish. However, you can click "Retake Test" to try the same questions again.
Q: What happens if my timer expires?
A: The test automatically finishes and shows your score based on answers submitted so far. Any unanswered questions are marked incorrect.
JSON Tips
- Use a text editor (VS Code, Sublime Text, etc.) to create and edit JSON files.
- Always use double quotes
"for keys and string values, not single quotes. - Make sure
answer_indexis a number, not a string. For example, use1, not"1". - The first option (index 0) is the first choice, the second option (index 1) is the second choice, etc.
- Test your JSON with a validator before uploading to avoid errors.
Using AI to Generate Question Sets
You can use AI systems (such as Gemini, ChatGPT, or other research-capable models) to quickly create large sets of practice questions. Here is a recommended prompt to use with these tools:
[ { "question": "What is 2+2?", "options": ["3", "4", "5", "6"], "answer_index": 1 }, { "question": "What is the capital of France?", "options": ["London", "Berlin", "Paris", "Madrid"], "answer_index": 2 } ]
Replace {exam name} with the name of your test. Attach any specific requirements or guidelines as context for the AI. Always verify the output for accuracy and formatting before uploading.
Sample Resources to Get Started
We've included reference materials to help you prepare practice exams. Download these PDFs for guidance on exam structure and best practices:
-
CompTIA SecurityX (SecurityX) CAS-005 Exam Objectives
Official exam objectives and domains for the CompTIA SecurityX certification test. -
Crafting Certification Exam Questions
Best practices and guidelines for writing effective certification exam questions and creating quality practice tests.
Download these files, review the exam objectives and guidelines, then use the AI prompt above to generate a comprehensive question set in the required JSON format.
Try It Out: Sample Question Set
We've included a sample CompTIA SecurityX practice question set ready to use:
-
SecurityX Practice Questions (November 2025)
A pre-built question set for CompTIA SecurityX exam practice.
⚠️ Important: This sample question set is provided for demonstration purposes. Always verify the accuracy and relevance of all questions against the official CompTIA SecurityX exam objectives before using for serious exam preparation. Exam content and questions may change over time, and it is your responsibility to ensure the material is current and accurate for your certification goals.
Simply download the file and upload it to the app to start practicing immediately, or use it as a reference for the JSON format.
Ready to take a test?
Back to StaticTest Engine