This test attempts to insert a new record into a MySQL
database. In the event of a SQLException during execution of the insert
command, diagnostic information about the database connection and SQL
statement will be dumped to the output stream.
org.mortbay.jetty.plus.Server:org.apache.lenya.util.HTML:$SS_TC_ROOT/install/build/lenya/webapp/sitemap.xmap
$SS_TC_ROOT/$SS_TC_INSTALL/tools/loader:$SS_TC_DEPS/java/stonesoup/database/mysql/*:$SS_TC_DEPS/java/stonesoup/socket/*:$SS_TC_DEPS/java/stonesoup/lttng/lttng-stonesoup-0.1.jar
$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/lib:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/extra/lib:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/extra/ext:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/ext:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/extra/resources:$SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp/WEB-INF/lib/endorsed:$SS_TC_DEPS/java/lenya:$SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp/WEB-INF/lib:$SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp/WEB-INF/lib/endorsed:$SS_TC_ROOT/$SS_TC_INSTALL/tools/configure/lib:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/ext:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/extra/ext:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/extra/lib:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/lib:$SS_TC_ROOT/$SS_TC_INSTALL/tools/lib
UNSPECIFIED
UNSPECIFIED
env LENYA_HOME="$SS_TC_ROOT/$SS_TC_INSTALL" LENYA_WEBAPP_HOME="$SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp" JETTY_PORT="8888" JETTY_ADMIN_PORT="8889" java $SS_JAVA_OPTS -Djava.library.path=$SS_TC_DEPS/lib64/ -Xms32M -Xmx512M -Djava.awt.headless=true -cp "$SS_JAVA_CLASSPATH" -Djava.endorsed.dirs=$SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp/WEB-INF/lib/endorsed -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser -Djetty.port=8888 -Dloader.jar.repositories=$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/lib:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/extra/lib:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/extra/ext:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/ext:$SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/extra/resources:$SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp/WEB-INF/lib/endorsed -Dwebapp=$SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp -Dhome=$SS_TC_ROOT/$SS_TC_INSTALL -Dorg.mortbay.util.URI.charset=ISO-8859-1 -Dloader.main.class=org.mortbay.jetty.plus.Server Loader $SS_TC_ROOT/$SS_TC_INSTALL/tools/jetty/conf/main.xml
env ANT_HOME=$SS_TC_DEPS/ant ant -v $SS_ANT_OPTS -Dstonesoup.database.postgres.required=no -Dstonesoup.hibernate.postgres.required=no -Dstonesoup.hibernate.mysql.required=no -Dstonesoup.database.mysql.required=yes -Dstonesoup.socket.required=yes -lib $SS_TC_DEPS/java/stonesoup/lttng/lttng-stonesoup-0.1.jar -Dstonesoup.socket.lib.dir="$SS_TC_DEPS/java/stonesoup/socket" -Dstonesoup.hibernate.mysql.lib.dir="$SS_TC_DEPS/java/stonesoup/hibernate/mysql" -Dstonesoup.hibernate.postgres.lib.dir="$SS_TC_DEPS/java/stonesoup/hibernate/postgres" -Dstonesoup.database.mysql.lib.dir="$SS_TC_DEPS/java/stonesoup/database/mysql" -Dstonesoup.database.postgres.lib.dir="$SS_TC_DEPS/java/stonesoup/database/postgres" -Dstonesoup.lttng.lib.dir="$SS_TC_DEPS/java/stonesoup/lttng" -Dstonesoup.lttng.dummy.lib.dir="$SS_TC_DEPS/java/stonesoup/lttng-dummy" -lib "$SS_TC_DEPS/java/lenya" -Dsrc.java.version="1.5" -Dlib.dir="$SS_TC_DEPS/java/lenya" -Ddist.root="$SS_TC_ROOT/$SS_TC_INSTALL" -Djava.endorsed.dirs="$SS_TC_ROOT/src/externals/cocoon_2_1_x/lib/endorsed" -Ddist.bin.dir="$SS_TC_ROOT/$SS_TC_INSTALL" prepare-dist-bin
mkdir -p $SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp
cp $SS_TC_ROOT/$SS_TC_INSTALL/lenya.war $SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp/
(cd $SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp && jar -xf lenya.war)
mkdir -p $SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp/WEB-INF/logs
rm $SS_TC_ROOT/$SS_TC_INSTALL/build/lenya/webapp/lenya.war
open firefox and browse to default page
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_dabptubwocpdmfah.sql
northwind_dabptubwocpdmfah
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-01 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-01/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
Create a publication
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_vqswuwdgcfiwsjzb.sql
northwind_vqswuwdgcfiwsjzb
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-02 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-02/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
Create publication and log in
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_qgvomdyianqmursj.sql
northwind_qgvomdyianqmursj
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-03 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-03/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
edit with KUPU editor
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_vzxqxjbwqejfbzzg.sql
northwind_vzxqxjbwqejfbzzg
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-04 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-04/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
edit with BXE editor
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_sphkxcvynmtmymyi.sql
northwind_sphkxcvynmtmymyi
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-05 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-05/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
edit using "with forms" editor
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_gxsnvqsofgoeeppi.sql
northwind_gxsnvqsofgoeeppi
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-06 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-06/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
test publishing to live site
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_msvhybadmmsyhshc.sql
northwind_msvhybadmmsyhshc
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-07 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-07/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
test private message system
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_mbqjyjlkitasmroc.sql
northwind_mbqjyjlkitasmroc
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-08 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-08/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
create new xhtml page
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_swyrlaviswrbqdob.sql
northwind_swyrlaviswrbqdob
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-09 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-09/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
test RSS feed generation
Environment variables defining database connection parameters including username and password.
NONE
/opt/stonesoup/workspace/scripts/northwind_create_northwind_pcyphjnopkpqnuor.sql
northwind_pcyphjnopkpqnuor
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
GOOD-10 AND NOT TIMEOUT AND NOT CONTROLLED_EXIT
good-10/output.txt
DOES_NOT_RETURN
CONTROLLED_EXIT
Environment variables defining database connection parameters including username and password.
READ_APPLICATION_DATA
/opt/stonesoup/workspace/scripts/northwind_create_northwind_viuvebuxangwgput.sql
northwind_viuvebuxangwgput
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
weakness_started_U5UXwB26aBGd3SnNjhOt AND ((NOT PERFORMER AND (db_connection_pass_CDulqF9hne OR db_connection_string_0UTdB7AAKi) AND NOT timeout_JM9Q5p04gi) or (PERFORMER AND NOT ((db_connection_pass_CDulqF9hne OR db_connection_string_0UTdB7AAKi) OR timeout_JM9Q5p04gi OR controlled_exit_J5fhNeovXj)))
(NOT PERFORMER AND (db_connection_pass_CDulqF9hne OR db_connection_string_0UTdB7AAKi) AND NOT timeout_JM9Q5p04gi) or (PERFORMER AND NOT ((db_connection_pass_CDulqF9hne OR db_connection_string_0UTdB7AAKi) OR timeout_JM9Q5p04gi OR controlled_exit_J5fhNeovXj))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
grep "Pass: $DBMYSQLPASSWORD" logfile.txt
grep "JDBC: jdbc:mysql://$DBMYSQLHOST:$DBMYSQLPORT" logfile.txt
None
stonesoup_trace:weakness_start
Environment variables defining database connection parameters including username and password.
READ_APPLICATION_DATA
/opt/stonesoup/workspace/scripts/northwind_create_northwind_qzzdaiomunqcrrxc.sql
northwind_qzzdaiomunqcrrxc
$SS_TC_ROOT/logs/execute/lttng
$SS_TC_DEPS/lib64/liblttng-stonesoup-java.so:$SS_TC_DEPS/lib64/liblttng-ust-fork.so
DROP DATABASE IF EXISTS $SS_DBMYSQLDATABASE;
weakness_started_ReSbDJC28E1QLZRJwWtn AND ((NOT PERFORMER AND (db_connection_pass_Bbh7i2MYt1 OR db_connection_string_S9k3ixTq70) AND NOT timeout_LOXEJUFMWk) or (PERFORMER AND NOT ((db_connection_pass_Bbh7i2MYt1 OR db_connection_string_S9k3ixTq70) OR timeout_LOXEJUFMWk OR controlled_exit_6ZHSGg2Gii)))
(NOT PERFORMER AND (db_connection_pass_Bbh7i2MYt1 OR db_connection_string_S9k3ixTq70) AND NOT timeout_LOXEJUFMWk) or (PERFORMER AND NOT ((db_connection_pass_Bbh7i2MYt1 OR db_connection_string_S9k3ixTq70) OR timeout_LOXEJUFMWk OR controlled_exit_6ZHSGg2Gii))
DOES_NOT_RETURN
CONTROLLED_EXIT
CONTINUED_EXECUTION
grep "Pass: $DBMYSQLPASSWORD" logfile.txt
grep "JDBC: jdbc:mysql://$DBMYSQLHOST:$DBMYSQLPORT" logfile.txt
None
stonesoup_trace:weakness_start