Skip to main content

need help about the connection between harness and Active Agent

1 reply [Last post]
vaccani
Offline
Joined: 2009-09-14
Points: 0

hi,

The agent can not get the class that is being sent by the harness.
Environment: Harness 4.2 running on a machine on the network in linux (ubuntu 9). Agent Activity command line (AgenteMain.java) running on another machine with the same characteristics.
Problem: The agent receives as parameter the name of the class but can not execute it remotely.

I need to know how to configure the harness to send the class and not just the name, or the agent ask to harness to send the class.

I use the SimpleInterview and StdScript in harness
This is the command generated in my harness: "com.sun.javatest.agent.ActiveAgentCommand com.sun.javatest.lib.ExecStdTestSameJVMCmd $ testExecuteClass $ testExecuteArgs".

This is my file .jti generated:

# JT Harness Configuration Interview
# Fri Sep 18 13:18:18 EDT 2009
CHECKSUM = 2263252b4a2256db
DESCRIPTION = ff
= INTERVIEW com.sun.javatest.interview.SimpleInterviewParameters
LOCALE = en_US
NAME = ff
QUESTION = simple.envEnd
TestSuite = / home / pvaccani / Documents / work / JavaTCK / workProjecs / testePedro
WORKDIR = / home / pvaccani / Documents / work / JavaTCK / workProjecs / testePedro / work \!
simple.cmdType = agent
simple.concurrency.concurrency = 1
simple.desc = ff
simple.excludeList.latestAutoCheck = No
simple.excludeList.latestAutoCheckInterval = 7
simple.excludeList.latestAutoCheckMode = everyXDays
simple.excludeList.needExcludeList = No
simple.keywords.keywords.mode = expr
simple.keywords.needKeywords = No
simple.name = ff
simple.priorStatus.needStatus = No
simple.priorStatus.status =
simple.tests.needTests = No
simple.tests.tests =
simple.tests.treeOrFile = tree
simple.timeout.timeout = 1

Thanks

vaccani

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vaccani
Offline
Joined: 2009-09-14
Points: 0

resolved thanks