Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The admin interface now has a "stress test" tab. A stress test is a resource with no context. Each client viewing a stress test can start a number of attempts, and send random SCORM data using the same API as real attempts. You can set attempts to start at a particular time, to coordinate between PCs. The idea is to set one or more computers starting attempts, and see whether the server can save the data correctly. The interface shows information about the status of each attempt.
- Loading branch information
1 parent
7824020
commit 903737c
Showing
12 changed files
with
11,469 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Generated by Django 2.0 on 2018-06-04 08:31 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('numbas_lti', '0043_auto_20180530_0845'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='StressTest', | ||
fields=[ | ||
('resource', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to='numbas_lti.Resource')), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name='StressTestNote', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('text', models.TextField()), | ||
('time', models.DateTimeField(auto_now_add=True)), | ||
('stresstest', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='notes', to='numbas_lti.StressTest')), | ||
], | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 2.0 on 2018-06-04 12:12 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('numbas_lti', '0044_stresstest_stresstestnote'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='attempt', | ||
name='exam', | ||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='attempts', to='numbas_lti.Exam'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.