Child pages
  • Samigo Load Test
Skip to end of metadata
Go to start of metadata
6 sample files that will be used for the load testing:
  File Modified
XML File All-Types2.xml This test contains all question types that Samigo supports. May 09, 2007 by Lydia Li
XML File Everything-But-Audio2.xml This test contains all question types except audio type. May 09, 2007 by Lydia Li
XML File Everything-But-File-Upload2.xml This test contains all question types except file upload type. May 09, 2007 by Lydia Li
XML File Neither-Audio-Nor-File-Upload2.xml This test contains all question types except file upload type and audio type. May 09, 2007 by Lydia Li
ZIP Archive audiotest.zip CP zip file, contains multiple choice and audio test. It contains a large .mov file attachment. May 09, 2007 by Lydia Li
ZIP Archive humbio.zip CP zip file , contains multi parts, all multiple choices, with inline images. May 09, 2007 by Lydia Li
XML File 1part_test.xml a single-part test that can be imported to a question pool May 11, 2007 by Lydia Li

1. Signing the audio applet

1. assuming you have deployed sakai in tomcat already, and samigo.war has expanded in tomcat/webapps, first shutdown tomcat

2. signing the applet using your certificate.

> cd tomcat/webapps/samigo/applets
> jarsigner -keystore yourKeystore -storepass yourPassword sakai-samigo-audio-dev.jar yourAlias
> jarsigner -verify sakai-samigo-audio-dev.jar

3. restart tomcat
Now you should be able to load the applet and record your answers for an audio recording question.

4. You will need to repeat step 1-3 for all your tomcat servers.

2. Signing applet during maven build.

There is a way to sign this applet when you run "maven sakai". It involves modifying the sam/samigo-audio/maven.xml and add this postGoal. This will allow the jar to be signed during compilation/build and the signed jar will be deployed in tomcat. You won't need to sign individual jars in all servers.

<postGoal name="jar:jar">
<ant:signjar
alias="youralias"
keystore="/yourfolder/your.keystore"
storepass="yourpassword">
<ant:fileset dir="target">
<ant:include name="*.jar" />
</ant:fileset>
</ant:signjar>
</postGoal>

3 here is an example on creating a self-signed certificate and use it to sign your applet:

1. create a self-signed ketstore
keytool -genkey -keyalg RSA -keystore ~/daisyf/applet-keystore/audio_applet_keystore -alias audioApplet -keypass mypassword -validity 3650
I used these value when prompted "cn=Daisy Flemming, ou=SUL / ACOMP, o=Stanford University, l=Stanford, st=CA, c=US"

2. create self-signed certificate
keytool -selfcert -keystore ~/daisyf/applet-keystore/audio_applet_keystore -alias audioApplet -dname "cn=Daisy Flemming, ou=SUL / ACOMP, o=Stanford University, l=Stanford, st=CA, c=US" -validity 3650

e. signing applet
cd ~/nightly/sakai2.2-oracle/tomcat/webapps/samigo/applets
jarsigner -keystore ~/daisyf/applet-keystore/audio_applet_keystore -storepass mypassword sakai-samigo-audio-dev.jar audioApplet
jarsigner -verify sakai-samigo-audio-dev.jar

  • No labels