network throughput test using delphixpy

  • 0
  • 1
  • Problem
  • Updated 2 weeks ago
  • Solved
I am using delphixpy to perform throughput test. I am able to successfully perform latency test for the given host using delphixpy. 
But i am getting type error when I assign remote_host to NetworkThroughputTestParameters..
anyone can help me here?
thanks in advance.
Photo of Guru

Guru

  • 130 Points 100 badge 2x thumb

Posted 3 weeks ago

  • 0
  • 1
Photo of Scott MacDonald

Scott MacDonald, Staff Engineer

  • 2,632 Points 2k badge 2x thumb
Official Response
Hi Guru,

Ah I see. Per the API docs, the parameter "remoteHost" in a NetworkThroughputTestParameters object should be a Reference to a Host. This is not the hostname, this is the object name, which will have the form "HOST-nnn" where nnn is an integer ID number. For example "HOST-12". If you replace the hostname "host1" with it's corresponding reference this should work.

Many Thanks,

Scott.