Run Perftest example in Powershell ISE

7 posts / 0 new
Last post
wly
Offline
Last seen: 3 years 10 months ago
Joined: 04/29/2020
Posts: 12
Run Perftest example in Powershell ISE

  I creaeted a script & I tried but the command "perfteset_jave" was not recognized.  Have anyone tried it? 

 

Thanks

jmorales's picture
Offline
Last seen: 1 month 5 days ago
Joined: 08/28/2013
Posts: 60

Hello there, 

What is the command you are using? And the error? We usually use bash scripts, but we can see how to make it work for you.

Regards,

Javi

wly
Offline
Last seen: 3 years 10 months ago
Joined: 04/29/2020
Posts: 12

perftest_java : The term 'perftest_java' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.

Offline
Last seen: 1 month 1 week ago
Joined: 09/23/2018
Posts: 62

Did you go through the build and setup steps in the User Guide .. if so,  did any of the steps fail?

https://community.rti.com/static/documentation/perftest/3.0/compilation.html

 

wly
Offline
Last seen: 3 years 10 months ago
Joined: 04/29/2020
Posts: 12

I have successfully run the built command & the example on command line (runsub & runpub).  I wanted to see if I could run on Powershell ISE.  This will be very convenient if it works.

wly
Offline
Last seen: 3 years 10 months ago
Joined: 04/29/2020
Posts: 12

I meant the "Perftest" command.

jmorales's picture
Offline
Last seen: 1 month 5 days ago
Joined: 08/28/2013
Posts: 60

Hi again,

When you build the java API implementation for RTI Perftest, after the successful compilation with javac and the jar encapsulation a message should appear letting you know that you can run the binary code in 2 ways: by executing a script that is created for such purpose under the bin folder, or by executing directly a Java command prior to configure a couple environment variables. Which one is the one you tried? What command did you use? I think if Java works for you in the PowerShell, you should be able to run RTI Perftest with no issues.

Regards,

Javi