question

gallopor avatar image
gallopor asked amichaels converted comment to answer

How to handle the parameter "LicenseAgent" of iTestRT?

I want to know how to deal with the parameter "LicenseAgent" of iTestRT 5.1

1. If don't use the LicenseAgent, there is an error:

Error: Invalid license proxy option format.

2. If use it as -LicenseAgent 127.0.0.1:27000

The license can't be checked out

iTest Runtime (itestrt)
itestrt-error.jpg (52.0 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bhavani.geepalem avatar image
bhavani.geepalem answered

To use iTestRT for 64-bit machine, we need to configure the license proxy server. Please refer the below article on "how to configure license proxy for 64-Bit iTestRT": http://docid.spirent.com/FAQ16475

We could also use the 32-bit iTestRT for 64-bit machine without configuring the license proxy server.

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

gallopor avatar image
gallopor answered amichaels converted comment to answer

I use the iTestRT 64-bit build (iTestRT-win32.win32.x86_64.zip) and my machine is also 64-bit.

But the problem still exist.

I have paste the error without -licenseProxy.

There is the error with -licenseProxy

D:\iTestRT>itestrt --licenseServer 127.0.0.1:27000 --licenseProxy 127.0.0.1:2700 0 --test.logfile file://D:/Temp/rtlog.txt --report file:/D:/Temp/TestReports --i tar file:/D:/iTestRT/itar --param TopoName=CSR_Demo1 --param StartTime=06:25 --p aram Duration=00:10 --test project://VelocityRest/TopoReserve.fftc

Info: The URI to the report format templates is not specified. The default URI w ill be used: 'project://resources/reports24/test_report_templates/HTML' com.google.api.client.http.HttpResponseException: at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1054) at com.fnfr.svt.configuration.licensing.connector.impl.GoogleJsonHttpCli ent.post(GoogleJsonHttpClient.java:70) at com.fnfr.svt.configuration.licensing.connector.impl.LicenseManagerCon nector.checkoutLicense(LicenseManagerConnector.java:210) at com.fnfr.svt.configuration.licensing.proxyflexlm.ProxyFlexLMLicense.c heckout(ProxyFlexLMLicense.java:157) at com.fnfr.svt.configuration.licensing.nativeflexlm.NativeFlexLMLicense .checkout(NativeFlexLMLicense.java:111) at com.fnfr.svt.configuration.licensing.nativeflexlm.RuntimeLicenseHelpe r.checkoutRuntimeLicense(RuntimeLicenseHelper.java:75) at com.fnfr.open.runtime.testexecutor.ExecutionEngineOptionModule.proces sOptions(ExecutionEngineOptionModule.java:459) at com.fnfr.open.runtime.testexecutor.ExecutionEngineOptionModule.doProc essOptions(ExecutionEngineOptionModule.java:337) at com.fnfr.open.runtime.testexecutor.ExecutionEngineOptionModule.activa te(ExecutionEngineOptionModule.java:332) at com.fnfr.open.runtime.activation.internal.OptionModuleManager.activat e(OptionModuleManager.java:166) at com.fnfr.open.runtime.launcher.LauncherApplication.start(LauncherAppl ication.java:221) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl e.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli cation(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec lipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414) License Error: Exception status: CONNECTION_ERROR

Exiting since runtime license cannot be checked out.

D:\iTestRT>


itestpackage.jpg (61.7 KiB)
os.jpg (44.8 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bhavani.geepalem avatar image
bhavani.geepalem answered

If we use the iTestRT 64-bit build for a 32-bit machine, while running the iTestRT, it throws an error as "Invalid license proxy option format". We could resolve this issue, by using the correct iTestRT build for the specified machine. Kindly give a try with the above suggestion and let us know the results. If you are still facing the issue, please provide us the below information to debug more on this issue.

  • OS details (RAM size, 32/64 bit)
  • iTestRT (32/64 bit)
  • Complete error details.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.