services:labtest:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:labtest:start [2025/01/27 11:44] – jas | services:labtest:start [2025/03/05 03:46] (current) – [3. Allow Access To Your eClass Quiz ID In Labtest Mode] jas | ||
---|---|---|---|
Line 247: | Line 247: | ||
restrict list List labtest URL restrictions (including line numbers) | restrict list List labtest URL restrictions (including line numbers) | ||
restrict add < | restrict add < | ||
- | restrict eclass | + | restrict eclass |
restrict delete < | restrict delete < | ||
restrict edit Edit labtest restrictions | restrict edit Edit labtest restrictions | ||
Line 261: | Line 261: | ||
labtest> restrict add -www.w3schools.com/ | labtest> restrict add -www.w3schools.com/ | ||
- | To allow access to eClass Quiz/VPL: | + | (*) To allow access to eClass Quiz/VPL, please read the following web page: |
- | labtest> restrict eclass | + | https:// |
- | NOTE: Running an eClass | + | *** Don't forget - ALWAYS test your eClass |
- | to this URL for further instructions: | + | |
- | + | ||
- | | + | |
</ | </ | ||
- | By default, labtest doesn' | + | By default, labtest doesn' |
+ | |||
+ | * https:// | ||
+ | |||
+ | For eClass specific restrictions, | ||
- | https:// | + | * https:// |
- | Labtest restrictions are entirely optional | + | Labtest restrictions are entirely optional. |
===== Labtest Submit ===== | ===== Labtest Submit ===== | ||
Line 318: | Line 319: | ||
# < | # < | ||
#version: < | #version: < | ||
- | MM/ | + | MM/ |
- | MM/ | + | MM/ |
</ | </ | ||
Line 328: | Line 329: | ||
* HH:MM - hour:minute hour of your test (note that this is impacted by the next field) | * HH:MM - hour:minute hour of your test (note that this is impacted by the next field) | ||
* M - number of minutes of warnings to send to students before system will reboot (usually 5) - NOTE: If M=5, machines will REBOOT at HH:MM + 5 MIN, NOT at HH:MM | * M - number of minutes of warnings to send to students before system will reboot (usually 5) - NOTE: If M=5, machines will REBOOT at HH:MM + 5 MIN, NOT at HH:MM | ||
- | * <HOSTSPEC> - lets us know which hosts you want to book. < | + | * HOSTSPEC - lets us know which hosts you want to book. < |
* individual machines separated by commas: ea01, | * individual machines separated by commas: ea01, | ||
* groups of machines: | * groups of machines: | ||
Line 380: | Line 381: | ||
</ | </ | ||
- | If you have students with different accommodations for extra time, please submit a **separate** block for each accommodation type. Here's the same booking request above with 5 machines getting an extra hour, 2 machines getting 30 minutes extra, and 1 machine getting | + | If you have students with different accommodations for extra time, please submit a **separate** block for each accommodation type. Here's the same booking request above with 5 machines getting an extra hour, 2 machines getting 30 minutes extra, and 1 machine getting |
< | < | ||
Line 422: | Line 423: | ||
</ | </ | ||
- | ... or you can create one long session 9:00 AM - 11:00 AM, but you will have to clear the lab manually between sessions yourself: | + | ... or you can create one long session 9:00 AM - 1:00 PM, but you will have to clear the lab manually between sessions yourself: |
< | < | ||
Line 949: | Line 950: | ||
====== Accessing External Hosts In Labtest (optional) ====== | ====== Accessing External Hosts In Labtest (optional) ====== | ||
- | Your labtest may require students to access external websites. | + | Your labtest may require students to access external websites. |
- | With host level access control, you can give your labtest access to specific websites such as www.w3schools.com. | + | With host level access control, you can give your labtest access to specific websites such as https://www.w3schools.com. |
- | Create | + | Let's say you're teaching |
- | For example, if you're teaching a course EECS9999, and you want students in your labtest to be able to access | + | **Setup With Labtest Assistant** |
+ | |||
+ | From within Labtest Assistant, use the "restrict" | ||
+ | |||
+ | < | ||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com inserted. | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction validator.w3.org inserted. | ||
+ | </ | ||
+ | |||
+ | You can use "restrict edit" to edit the restriction list in a text editor, or " | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | If you are setting | ||
< | < | ||
Line 969: | Line 988: | ||
</ | </ | ||
- | Please note that if the web site you are trying to access includes links to other sites that you want to work, or includes files from other sites (eg. css style file or font file), then you may need to add additional entries to your labtest.allow file. Contact tech for assistance. | + | **Please note that if the web site you are trying to access includes links to other sites that you want to work, or includes files from other sites (eg. css style file or font file), then you may need to add additional entries to your labtest.allow file. Contact tech for assistance.** |
- | Labtest also makes it possible to implement partial access to a website. | + | Labtest also makes it possible to implement partial access to a website. |
- | Now, if you try to visit anything but " | + | **Setup with Labtest Assistant** |
- | However, you will also notice that the page doesn' | + | From within Labtest Assistant, use the " |
+ | |||
+ | < | ||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | | ||
+ | </ | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | Add " | ||
+ | |||
+ | Now, during your labtest, if you try to visit anything but " | ||
+ | |||
+ | However, you will also notice that the page doesn' | ||
+ | |||
+ | **Setup with Labtest Assistant** | ||
+ | |||
+ | Once again, use the restrict command: | ||
+ | |||
+ | < | ||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | Restriction www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | Add " | ||
< | < | ||
Line 983: | Line 1044: | ||
</ | </ | ||
- | Now, let's say there' | + | Now, let's say there' |
+ | **Setup with Labtest Assistant** | ||
+ | |||
+ | Again, use the restrict command: | ||
< | < | ||
- | -www.w3schools.com/ | + | Labtest (9999) [labtest1] |
+ | |||
+ | Restriction -www.w3schools.com/ | ||
+ | |||
+ | Labtest (9999) [labtest1] | ||
+ | |||
+ | 1 www.w3schools.com/ | ||
+ | | ||
+ | | ||
+ | | ||
</ | </ | ||
+ | |||
+ | **Setup Manually** | ||
+ | |||
+ | Add the following rule to labtest.allow: | ||
+ | |||
+ | -www.w3schools.com/ | ||
NOTE: Rejected URL fragments are processed before accepted URL fragments. | NOTE: Rejected URL fragments are processed before accepted URL fragments. | ||
Line 993: | Line 1072: | ||
A few important notes: | A few important notes: | ||
- | 1) For every website that students needs to be able to access during labtest, you must specify the website name in the labtest.allow file. You may include just the website name (in which case all URLs on that site will work), or you may include the URLs on that website that you want to be accessible. | + | 1) For every website that students needs to be able to access during labtest, you must either use " |
2) All external pages are rejected by default. | 2) All external pages are rejected by default. | ||
Line 1014: | Line 1093: | ||
In this section, we will configure labtest to provide secure access to an eClass quiz. | In this section, we will configure labtest to provide secure access to an eClass quiz. | ||
- | 1. Allow access to eClass | + | ===== 1. Allow Lab Machines Limited Access To eClass |
- | First, | + | First, |
- | If you're using Labtest Assistant: | + | If you're using Labtest Assistant, use the " |
- | * Use the "restrict eclass" command. | + | < |
+ | labtest> | ||
+ | </ | ||
- | If you' | + | If you' |
- | If your labtest.allow file only includes "eclass.yorku.ca", then labtest will do the following: | + | < |
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | dm7crvy4e45rz.cloudfront.net | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | </ | ||
- | * Automatically restrict user access to " | + | ===== 2. Determine Your eClass |
- | * Automatically restrict user access to eClass | + | |
- | However, there are still problems: | + | Visit your eClass quiz from your machine that is **not** in labtest mode. Grab the quiz URL from the URL bar in your web browser. |
- | * Students will not be able to view images attached | + | You can also get this link in eClass if you go to: Activities >> Quizzes then hover your mouse over your quiz. |
- | * Students would still be able to access eClass pages for any courses to which they are enrolled. | + | |
- | This labtest.allow file is best for eClass | + | ===== 3. Allow Access To Your eClass |
- | eclass.yorku.ca/ | + | If you're using Labtest Assistant, use the following command to allow access your eClass |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | -eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | eclass.yorku.ca/ | + | |
- | dm7crvy4e45rz.cloudfront.net | + | |
- | Now, if you provide a specific quiz URL in your labtest | + | < |
+ | labtest> restrict add eclass.yorku.ca/ | ||
+ | </ | ||
- | As a side note, if you wish to use additional functionality in eClass | + | Replace ID with your eClass |
- | | + | If you're not using Labtest Assistant, add the following line to the end of your labtest.allow file in your labtest directory: |
- | | + | |
+ | < | ||
+ | eclass.yorku.ca/ | ||
+ | </ | ||
+ | | ||
+ | Replace ID with your eClass Quiz ID. | ||
Ensure that the labtest.allow file is readable: < | Ensure that the labtest.allow file is readable: < | ||
- | 2. Your labtest start page (eg. / | + | ===== 4. Provide a Link to Your eClass Quiz in Your Labtest Start Page ===== |
+ | |||
+ | Your labtest start page (eg. / | ||
+ | |||
+ | If you're using Labtest Assistant, open your labtest start page using the " | ||
+ | |||
+ | < | ||
+ | Click <a href="https:// | ||
+ | </ | ||
+ | |||
+ | If you're not using Labtest Assistant, open the index.html file in your labtest directory, and add the link manually. | ||
**IMPORTANT** If students try to access " | **IMPORTANT** If students try to access " | ||
- | 3. Restrict access to your eClass quiz to the IP addresses of the lab machines where the students will be writing the quiz. If you don't do this, even though your in-lab students will be limited in the proper way, students who are outside of the lab would also be able to write your quiz. Go to: Activities >> Quizzes >> Settings >> Extra restriction on attempts >> Show more... >> Require network address. | + | ===== 5. Restrict IP Addresses Which Can Access Your eClass Quiz From Within eClass ===== |
+ | |||
+ | Login to eClass. Restrict access to your eClass quiz to the IP addresses of the lab machines where the students will be writing the quiz. If you don't do this, even though your in-lab students will be limited in the proper way, students who are outside of the lab would also be able to write your quiz. Go to: Activities >> Quizzes >> Settings >> Extra restriction on attempts >> Show more... >> Require network address. | ||
^Lab Location^IP Restriction^ | ^Lab Location^IP Restriction^ | ||
Line 1080: | Line 1183: | ||
* If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds 18, the IP restrictions will not function correctly due to an eClass bug. Please consult with tech to test your IP range prior to your test. | * If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds 18, the IP restrictions will not function correctly due to an eClass bug. Please consult with tech to test your IP range prior to your test. | ||
- | 4. Limit the start and end time of your quiz in eClass. | + | ===== 6. Limit the Start and End Time of Your Quiz in eClass ===== |
+ | |||
+ | You will need to limit the start and end time of your quiz in eClass. | ||
- | NOTE: Some faculty would like to use eClass " | + | Final Notes: |
- | ** Always test your eClass quiz using ltcloud! | + | * Some faculty would like to use eClass " |
+ | * If you're using VPL, you'll need to allow access to the following URL fragments with either " | ||
+ | * eclass.yorku.ca/ | ||
+ | * vpl1.eecs.yorku.ca | ||
+ | * **Always test your eClass quiz using ltcloud! | ||
====== SecureQ Setup (optional) ====== | ====== SecureQ Setup (optional) ====== | ||
Line 1473: | Line 1582: | ||
Access the Labtest Cloud URL here: | Access the Labtest Cloud URL here: | ||
- | * https:// | + | * https:// |
+ | |||
+ | The best way to access ltcloud is directly from a web browser when you are connected to [[https:// | ||
+ | If you want to access LTCloud directly from your home PC, you can use [[https:// | ||
- | Note that if you are accessing this URL from a non-EECS IP address (such as from home), you must be connected to [[https:// | ||
- | |||
After connecting to the Labtest Cloud URL, you will be required to authenticate with your EECS username and password. | After connecting to the Labtest Cloud URL, you will be required to authenticate with your EECS username and password. | ||
services/labtest/start.1737996242.txt.gz · Last modified: 2025/01/27 11:44 by jas