Error 404 Not Found while testing govmomi vapi/rest client using simulator #2887
Unanswered
pragyad3188
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Just glancing over, would be great to see the line where the error occurs. Feel free to take a look at this code/package how to properly construct a client incl. transparent reauth after session expiration: https://github.com/embano1/vsphere/tree/main/client |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create a govmomi/vapi rest client. The sample code is:
The rest client is created successfully, I tested it by retrieving categories from vCenter using this client.
To write their unit tests, I'm using govmomi simulator and vapi/simulator.
The testcase should pass, but it returns an error
I'm not able to understand what I'm missing or doing wrong. I've done similar test for creating a govmomi client using simulator and it didn't give me such error.
Can you help me out with this? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions