Forum Discussion
Cedric_L_
Jun 29, 2021Nimbostratus
Is there ressources to mock iControlREST?
Hello all, Is there a huge zip file somewhere with a complete dump of a "classic" F5 installation with virtual servers, policies, etc. I want to mock a iControlREST for unit testing and integration...
Cedric_L_
Nimbostratus
When I say a dump of an F5 installation I mean a JSON dump of answers from iControlREST to different requests. So you’ll be able to reproduce the dialog between a service and an iControlREST but without a "real" F5.
Jul 03, 2021
Hello Cedric.
It doesn't exist a current dump but you could get one by yourself just querying a F5 with only-read queries.
You can start from here:
curl -sku admin https://localhost/mgmt/tm/ | jq >> output.txt
And after that, you have to query all the links you get from the response (except self-links!)
Regards,
Dario.
- Cedric_L_Jul 05, 2021Nimbostratus
Thank you very much for this suggestion.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects