Hello,
I am using Squash-tm 1.13.2, squash-ta Toolbox 1.9.0 and Squash-ta server 1.7.1. I can run the test successfully in Eclipse, Jenkins, and can trigger it through Squash-TM. After the test is finished, squash-ta doesn't return the test result to Squash-TM. I checked the configuration many times, delete them all and started over three times. But couldn't figure it out.
I attached my pom.xml, console output and test script.
[attachment=402]pom.txt[/attachment]
[attachment=403]console.png[/attachment]
[attachment=404]test1.png[/attachment]
[attachment=405]test2.png[/attachment]
Does anybody know what's wrong in my project, and can help me to figure it out?
Thanks!
Test result can not display in Squash-tm
Test result can not display in Squash-tm
- Pièces jointes
-
- test2.png (354.45 Kio) Consulté 2383 fois
-
- test1.png (327.97 Kio) Consulté 2383 fois
-
- console.png (327.97 Kio) Consulté 2383 fois
-
- pom.txt
- (4.22 Kio) Téléchargé 129 fois
Test result can not display in Squash-tm
Hello,
Could you describe the steps you followed to configure the TM-TA link ?
Did you edit the squash.tm.cfg.properties file as mentioned [url=https://sites.google.com/a/henix.fr/wik ... rom-1-13-0]here[/url] ?
Did you also configure [url=https://sites.google.com/a/henix.fr/wik ... from-1-7-0]Squash TA server[/url] ?
Regards,
Marion - Squash Team
Could you describe the steps you followed to configure the TM-TA link ?
Did you edit the squash.tm.cfg.properties file as mentioned [url=https://sites.google.com/a/henix.fr/wik ... rom-1-13-0]here[/url] ?
Did you also configure [url=https://sites.google.com/a/henix.fr/wik ... from-1-7-0]Squash TA server[/url] ?
Regards,
Marion - Squash Team
Test result can not display in Squash-tm
Hi Marion,
Thanks for your reply.
Here's my steps in Jenkins:
1. I use E:\Squash-TA-Server\execution_home as jenkins' home directory. have checked the plug in, they all have been installed.
2. Management Jenkins > Managed files,
[b]TaGlobalSettings[/b] file uses C:/Users/gwang/.m2/repository as maven repository because it's also used by other automation test.
[b]conf.properties[/b],
endpoint=http://10.1.0.18:8080/squash
endpoint.login=taserver
endpoint.password=taserver
I tried with
endpoint.1=http://10.1.0.18:8080/squash
endpoint.1.login=taserver
endpoint.1.password=taserver
then I got: login key null.login not found, no credentials will be used. After I removed ".1", It's a little better: login key http://localhost:8080/squash.login not found, no credentials will be used.
3. Management Jenkins > [b]Configuration files[/b], installed jdk1.8.0_31, maven3.3.3, Mercurial, Artifactory. re-entered Jenkins URL: http://10.1.0.18:9080/jenkins/ and Save.
4. [b]Configure Global Security[/b]: Enable security, use Jenkins' own user database, allow users to sign up, and Anyone can do anything.
5. Sign up a user [b]tmserver[/b] with password [b]tmserver[/b]
6. Copied jenkins job templateSquashTAExecutionMavenJob to myNewJob, the configuration in this job is:
operation: run
log4j2ConfigurationFile:log4j2.xml
externalJobId: blank
notificationURL: file://dev/null
testList: {file:testsuite.json}
others are using default configuration.
update source code management to pull from mercurial
7. In E:\Squash-TA-Server\execution_home, create taLinkConf.properties file
8. In E:\Squash-TA-Server\execution_home, create conf.properties:
http\://10.1.0.18\:8080/squash.login=tmserver
http\://10.1.0.18\:8080/squash.password=tmserver
Steps in Squash:
1. In E:\Squash-TM\conf, file squash.tm.cfg.properties:
tm.test.automation.pollinterval.millis=3000
tm.test.automation.server.callbackurl=http://10.1.0.18:8080/squash
2. Create a test automation server user with userName/password: taserver/taserver, in Test Automation Server group
3. Create test automation server: SquashTAServer with userName/password: tmserver/tmserver, URL: 10.1.0.18:9080/jenkins
4. Configure one Project to use SquashTAServer, add job myNewJob, job URL: http://10.1.0.18:9080/jenkins/job/myNewJob
5. In Test Case Workspace, select a test case, select /myNewJob/tc1.ta in Auto. script field
6. Run the test in Campaign workspace
One thing I did I changed jenkins WAR to use v1.609.3 instead, because I got an error when saving configuration.
Let me know if I missed something. Thank you so much!
Grace
Thanks for your reply.
Here's my steps in Jenkins:
1. I use E:\Squash-TA-Server\execution_home as jenkins' home directory. have checked the plug in, they all have been installed.
2. Management Jenkins > Managed files,
[b]TaGlobalSettings[/b] file uses C:/Users/gwang/.m2/repository as maven repository because it's also used by other automation test.
[b]conf.properties[/b],
endpoint=http://10.1.0.18:8080/squash
endpoint.login=taserver
endpoint.password=taserver
I tried with
endpoint.1=http://10.1.0.18:8080/squash
endpoint.1.login=taserver
endpoint.1.password=taserver
then I got: login key null.login not found, no credentials will be used. After I removed ".1", It's a little better: login key http://localhost:8080/squash.login not found, no credentials will be used.
3. Management Jenkins > [b]Configuration files[/b], installed jdk1.8.0_31, maven3.3.3, Mercurial, Artifactory. re-entered Jenkins URL: http://10.1.0.18:9080/jenkins/ and Save.
4. [b]Configure Global Security[/b]: Enable security, use Jenkins' own user database, allow users to sign up, and Anyone can do anything.
5. Sign up a user [b]tmserver[/b] with password [b]tmserver[/b]
6. Copied jenkins job templateSquashTAExecutionMavenJob to myNewJob, the configuration in this job is:
operation: run
log4j2ConfigurationFile:log4j2.xml
externalJobId: blank
notificationURL: file://dev/null
testList: {file:testsuite.json}
others are using default configuration.
update source code management to pull from mercurial
7. In E:\Squash-TA-Server\execution_home, create taLinkConf.properties file
8. In E:\Squash-TA-Server\execution_home, create conf.properties:
http\://10.1.0.18\:8080/squash.login=tmserver
http\://10.1.0.18\:8080/squash.password=tmserver
Steps in Squash:
1. In E:\Squash-TM\conf, file squash.tm.cfg.properties:
tm.test.automation.pollinterval.millis=3000
tm.test.automation.server.callbackurl=http://10.1.0.18:8080/squash
2. Create a test automation server user with userName/password: taserver/taserver, in Test Automation Server group
3. Create test automation server: SquashTAServer with userName/password: tmserver/tmserver, URL: 10.1.0.18:9080/jenkins
4. Configure one Project to use SquashTAServer, add job myNewJob, job URL: http://10.1.0.18:9080/jenkins/job/myNewJob
5. In Test Case Workspace, select a test case, select /myNewJob/tc1.ta in Auto. script field
6. Run the test in Campaign workspace
One thing I did I changed jenkins WAR to use v1.609.3 instead, because I got an error when saving configuration.
Let me know if I missed something. Thank you so much!
Grace
Test result can not display in Squash-tm
Here's my console output.
- Pièces jointes
-
- console-2.png (464.83 Kio) Consulté 2383 fois
Test result can not display in Squash-tm
[quote="Grace Wang" post=5400]Hi Marion,
Thanks for your reply.
Here's my steps in Jenkins:
1. I use E:\Squash-TA-Server\execution_home as jenkins' home directory. have checked the plug in, they all have been installed.
2. Management Jenkins > Managed files,
TaGlobalSettings file uses C:/Users/gwang/.m2/repository as maven repository because it's also used by other automation test.
conf.properties,
endpoint=http://XXXX:XXXX/squash
endpoint.login=taserver
endpoint.password=taserver
I tried with
endpoint.1=http://XXXX:XXXX/squash
endpoint.1.login=taserver
endpoint.1.password=taserver
then I got: login key null.login not found, no credentials will be used. After I removed ".1", It's a little better: login key http://localhost:8080/squash.login not found, no credentials will be used.
3. Management Jenkins > Configuration files, installed jdk1.8.0_31, maven3.3.3, Mercurial, Artifactory. re-entered Jenkins URL: http://XXXX:XXXX/jenkins/ and Save.
4. Configure Global Security: Enable security, use Jenkins' own user database, allow users to sign up, and Anyone can do anything.
5. Sign up a user tmserver with password tmserver
6. Copied jenkins job templateSquashTAExecutionMavenJob to myNewJob, the configuration in this job is:
operation: run
log4j2ConfigurationFile:log4j2.xml
externalJobId: blank
notificationURL: file://dev/null
testList: {file:testsuite.json}
others are using default configuration.
update source code management to pull from mercurial
7. In E:\Squash-TA-Server\execution_home, create taLinkConf.properties file
8. In E:\Squash-TA-Server\execution_home, create conf.properties:
http\://XXXX:XXXX/squash.login=tmserver
http\://XXXX:XXXX/squash.password=tmserver
Steps in Squash:
1. In E:\Squash-TM\conf, file squash.tm.cfg.properties:
tm.test.automation.pollinterval.millis=3000
tm.test.automation.server.callbackurl=http://XXXX:XXXX/squash
2. Create a test automation server user with userName/password: taserver/taserver, in Test Automation Server group
3. Create test automation server: SquashTAServer with userName/password: tmserver/tmserver, URL: XXXX:XXXX/jenkins
4. Configure one Project to use SquashTAServer, add job myNewJob, job URL: http://XXXX:XXXX/jenkins/job/myNewJob
5. In Test Case Workspace, select a test case, select /myNewJob/tc1.ta in Auto. script field
6. Run the test in Campaign workspace
One thing I did I changed jenkins WAR to use v1.609.3 instead, because I got an error when saving configuration.
Let me know if I missed something. Thank you so much!
Grace[/quote]
Thanks for your reply.
Here's my steps in Jenkins:
1. I use E:\Squash-TA-Server\execution_home as jenkins' home directory. have checked the plug in, they all have been installed.
2. Management Jenkins > Managed files,
TaGlobalSettings file uses C:/Users/gwang/.m2/repository as maven repository because it's also used by other automation test.
conf.properties,
endpoint=http://XXXX:XXXX/squash
endpoint.login=taserver
endpoint.password=taserver
I tried with
endpoint.1=http://XXXX:XXXX/squash
endpoint.1.login=taserver
endpoint.1.password=taserver
then I got: login key null.login not found, no credentials will be used. After I removed ".1", It's a little better: login key http://localhost:8080/squash.login not found, no credentials will be used.
3. Management Jenkins > Configuration files, installed jdk1.8.0_31, maven3.3.3, Mercurial, Artifactory. re-entered Jenkins URL: http://XXXX:XXXX/jenkins/ and Save.
4. Configure Global Security: Enable security, use Jenkins' own user database, allow users to sign up, and Anyone can do anything.
5. Sign up a user tmserver with password tmserver
6. Copied jenkins job templateSquashTAExecutionMavenJob to myNewJob, the configuration in this job is:
operation: run
log4j2ConfigurationFile:log4j2.xml
externalJobId: blank
notificationURL: file://dev/null
testList: {file:testsuite.json}
others are using default configuration.
update source code management to pull from mercurial
7. In E:\Squash-TA-Server\execution_home, create taLinkConf.properties file
8. In E:\Squash-TA-Server\execution_home, create conf.properties:
http\://XXXX:XXXX/squash.login=tmserver
http\://XXXX:XXXX/squash.password=tmserver
Steps in Squash:
1. In E:\Squash-TM\conf, file squash.tm.cfg.properties:
tm.test.automation.pollinterval.millis=3000
tm.test.automation.server.callbackurl=http://XXXX:XXXX/squash
2. Create a test automation server user with userName/password: taserver/taserver, in Test Automation Server group
3. Create test automation server: SquashTAServer with userName/password: tmserver/tmserver, URL: XXXX:XXXX/jenkins
4. Configure one Project to use SquashTAServer, add job myNewJob, job URL: http://XXXX:XXXX/jenkins/job/myNewJob
5. In Test Case Workspace, select a test case, select /myNewJob/tc1.ta in Auto. script field
6. Run the test in Campaign workspace
One thing I did I changed jenkins WAR to use v1.609.3 instead, because I got an error when saving configuration.
Let me know if I missed something. Thank you so much!
Grace[/quote]
Test result can not display in Squash-tm
[quote="Grace Wang" post=5326]Hello,
I am using Squash-tm 1.13.2, squash-ta Toolbox 1.9.0 and Squash-ta server 1.7.1. I can run the test successfully in Eclipse, Jenkins, and can trigger it through Squash-TM. After the test is finished, squash-ta doesn't return the test result to Squash-TM. I checked the configuration many times, delete them all and started over three times. But couldn't figure it out.
I attached my pom.xml, console output and test script.
Does anybody know what's wrong in my project, and can help me to figure it out?
Thanks![/quote]
I am using Squash-tm 1.13.2, squash-ta Toolbox 1.9.0 and Squash-ta server 1.7.1. I can run the test successfully in Eclipse, Jenkins, and can trigger it through Squash-TM. After the test is finished, squash-ta doesn't return the test result to Squash-TM. I checked the configuration many times, delete them all and started over three times. But couldn't figure it out.
I attached my pom.xml, console output and test script.
Does anybody know what's wrong in my project, and can help me to figure it out?
Thanks![/quote]
- Pièces jointes
-
- test2-2.png (404.24 Kio) Consulté 2383 fois
-
- test1.pgn.png (358.15 Kio) Consulté 2383 fois
-
- console-3.png (353.03 Kio) Consulté 2383 fois
-
- pom-2.txt
- (4.21 Kio) Téléchargé 148 fois