Moved jmeter load tests into their own directory.
This commit is contained in:
parent
754a941c35
commit
3bd309479c
6 changed files with 33 additions and 17 deletions
|
@ -1,3 +1,3 @@
|
||||||
local-config
|
local-config
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
build.properties
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
#Configure properties to access the Manager application user/pass combo should be in $TOMCAT_HOME/conf/tomcat-users.xml with manager role.
|
#Configure properties to access the Manager application user/pass combo should be in $TOMCAT_HOME/conf/tomcat-users.xml with manager role.
|
||||||
|
catalina.home=/usr/local/tomcat8080
|
||||||
|
catalina.base=/usr/local/tomcat2020
|
||||||
url=http://localhost:2020/manager
|
url=http://localhost:2020/manager
|
||||||
username=
|
username=travis
|
||||||
password=
|
password=bavis
|
||||||
|
|
||||||
#These properties need to be set to run the unit tests. They are your login to the dictionary
|
#These properties need to be set to run the unit tests. They are your login to the dictionary
|
||||||
lex.username=
|
lex.username=travis
|
||||||
lex.password=
|
lex.password=bavis
|
||||||
|
jmeter.home=/Users/travis/webapps/jmeter
|
||||||
|
|
23
build.xml
23
build.xml
|
@ -114,17 +114,12 @@
|
||||||
<target name="compile" description="Compile web application" depends="copy">
|
<target name="compile" description="Compile web application" depends="copy">
|
||||||
<mkdir dir="${build}/WEB-INF/classes"/>
|
<mkdir dir="${build}/WEB-INF/classes"/>
|
||||||
<javac destdir="${build}/WEB-INF/classes" classpathref="classpath" debug="on" listfiles="no">
|
<javac destdir="${build}/WEB-INF/classes" classpathref="classpath" debug="on" listfiles="no">
|
||||||
|
|
||||||
<src path="${source}/java"/>
|
<src path="${source}/java"/>
|
||||||
<include name="org/thdl/lex/**"/>
|
<include name="org/thdl/lex/**"/>
|
||||||
<exclude name="**/old/**"/>
|
<exclude name="**/old/**"/>
|
||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="test" description="Testing" depends="compile">
|
|
||||||
<java classname="org.thdl.lex.${class}" classpath="${build}/WEB-INF/classes/" classpathref="classpath"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="javadoc" description="Create Javadocs">
|
<target name="javadoc" description="Create Javadocs">
|
||||||
<javadoc destdir="${build}/apidocs/" classpathref="classpath" author="true" version="true" use="true" windowtitle="THDL Tibetan Collaborative Dictionary API">
|
<javadoc destdir="${build}/apidocs/" classpathref="classpath" author="true" version="true" use="true" windowtitle="THDL Tibetan Collaborative Dictionary API">
|
||||||
|
|
||||||
|
@ -169,6 +164,24 @@
|
||||||
<remove url="${url}" username="${username}" password="${password}" path="${path}"/>
|
<remove url="${url}" username="${username}" password="${password}" path="${path}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="test" description="Run unit tests">
|
||||||
|
<java classname="org.thdl.lex.test.MainMenuTestCase" classpathref="classpath" fork="yes">
|
||||||
|
<classpath>
|
||||||
|
<pathelement location="${build}/WEB-INF/classes"/>
|
||||||
|
</classpath>
|
||||||
|
<arg value="${ lex.username }"/>
|
||||||
|
<arg value="${ lex.password }"/>
|
||||||
|
</java>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="reload-test" description="Remove and Re-install web application" depends="reload">
|
||||||
|
<antcall target="test"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="install-test" description="Remove and Re-install web application" depends="install">
|
||||||
|
<antcall target="test"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="hbm2java" description="generate source code">
|
<target name="hbm2java" description="generate source code">
|
||||||
<tstamp prefix="now"/>
|
<tstamp prefix="now"/>
|
||||||
<echo message="time is: ${now.DSTAMP}_${now.TSTAMP}"/>
|
<echo message="time is: ${now.DSTAMP}_${now.TSTAMP}"/>
|
||||||
|
|
|
@ -14,11 +14,11 @@ Please login to use the THDL Tibetan Collaborative Dictionaries
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
|
|
||||||
<form action='/lex/login' method="post">
|
<form id='loginForm' action='/lex/login' method="post">
|
||||||
<p>
|
<p>
|
||||||
Username: <c:out value="<input type='text' id='username' size='16' value='${ usernameValue }'>" escapeXml="false" />
|
Username: <c:out value="<input type='text' name='username' size='16' value='${ usernameValue }'>" escapeXml="false" />
|
||||||
<br />
|
<br />
|
||||||
Password: <input type='password' id='password' size='20' value=''>
|
Password: <input type='password' name='password' size='20' value=''>
|
||||||
<br />
|
<br />
|
||||||
<input type='submit' value='Log in'>
|
<input type='submit' value='Log in'>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue