1

I want to run Jmeter script from UFT/QTP. Please let me know the if I need to install plugin for Jmeter in UFT and required setup for the same.

Sachin Kamble
  • 21
  • 1
  • 6

2 Answers2

2

Integrate which direction? UFT is Unified Functional Testing and JMeter is a load testing tool which falls into Non-Functional Testing so there is no straightforward integration, you will have to use underlying operating system as a proxy.

  • You can run QTP/UFT scripts from JMeter using OS Process Sampler and CScript.exe
  • You can run JMeter tests from QTP/UFT script like:

    Dim myCmd 
    Set myCmd = CreateObject ("WSCript.shell") 
    myCmd.run "cmd /c jmeter -n -t test.jmx -l result.jtl" 
    Set myCmd = Nothing 
    
Dmitri T
  • 159,985
  • 5
  • 83
  • 133
0

Why do you need Integration at all? If you want to keep your environment clean you should not mix 2 different tools and technologies that have nothing to do with each other.

Let your CI System (Jenkins, HPE ALM / Octane etc) trigger the execution of the different types of tests. In case you have full UFT licenses then you may think about API Tests (Based on C# / .NET) and Load Tests based on HPE toolsuite.

Bela Tamas Jozsa
  • 714
  • 5
  • 10