# Have you guys used genieacs for automation test?

**URL:** <https://forum.genieacs.com/t/have-you-guys-used-genieacs-for-automation-test/2004>\
**Category:** Uncategorized\
**Created:** [September 9, 2021, 8:02am UTC](https://forum.genieacs.com/t/have-you-guys-used-genieacs-for-automation-test/2004 "2021-09-09T08:02:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cx-sz](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@cx-sz](https://forum.genieacs.com/u/cx-sz)\
**Post date:** [September 9, 2021, 8:02am UTC](https://forum.genieacs.com/t/have-you-guys-used-genieacs-for-automation-test/2004/1 "2021-09-09T08:02:46Z")

</div>

Have you guys used genieacs for automation test ?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [September 10, 2021, 3:38am UTC](https://forum.genieacs.com/t/have-you-guys-used-genieacs-for-automation-test/2004/2 "2021-09-10T03:38:09Z")

</div>

Can you be more specific about what you are trying to accomplish.

---

<div class="post-metadata">

**Author:** ![cx-sz](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@cx-sz](https://forum.genieacs.com/u/cx-sz)\
**Post date:** [September 10, 2021, 6:51am UTC](https://forum.genieacs.com/t/have-you-guys-used-genieacs-for-automation-test/2004/3 "2021-09-10T06:51:25Z")

</div>

I want to use genieacs for our tr69 automation test.  
I tried to use API mentioned in genieacs document to send SPV , GPV or AddObject RPC to modem.  
Like this:  
curl -i ‘[http://10.89.224.76:7557/devices/0000CA-DG3450A-8BG2XC57H505155/tasks?timeout=3000&connection\_request](http://10.89.224.76:7557/devices/0000CA-DG3450A-8BG2XC57H505155/tasks?timeout=3000&connection_request)’ -X POST --data ‘{“name”: “getParameterValues”, “parameterNames”: [“Device.DeviceInfo.Description”]}’

Then I send another curl command to get the value of Device.DeviceInfo.Description,  
curl -i ‘[http://10.89.224.76:7557/devices?query={"\_id"%3A"0000CA-DG3450A-8BG2XC57H505155"}&projection=Device.DeviceInfo.Description](http://10.89.224.76:7557/devices?query=%7B%22_id%22%3A%220000CA-DG3450A-8BG2XC57H505155%22%7D&projection=Device.DeviceInfo.Description)’

For addobject method, there is no index returned after sending curl command.

I think it is not easy to use these API for automation test.

So I want to know if anyone use genieacs for automation test. If we can use it for automation test, how can we make it easy.

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [September 10, 2021, 10:58pm UTC](https://forum.genieacs.com/t/have-you-guys-used-genieacs-for-automation-test/2004/4 "2021-09-10T22:58:58Z")

</div>

It looks like you are trying to do automatic CPE provisioning? It is way easier and better to do that via provision scripts. Check out this link, [Example of a Provisioning Flow · genieacs/genieacs Wiki · GitHub](https://github.com/genieacs/genieacs/wiki/Example-of-a-Provisioning-Flow)

---

<div class="post-metadata">

**Author:** ![cx-sz](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@cx-sz](https://forum.genieacs.com/u/cx-sz)\
**Post date:** [September 22, 2021, 9:05am UTC](https://forum.genieacs.com/t/have-you-guys-used-genieacs-for-automation-test/2004/5 "2021-09-22T09:05:26Z")

</div>

I want to do setParameterValues , getParameterValues or Addobject in automation test. So I can’t use UI to do it manually, I can use API to do that , right ?

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [September 22, 2021, 4:00pm UTC](https://forum.genieacs.com/t/have-you-guys-used-genieacs-for-automation-test/2004/6 "2021-09-22T16:00:42Z")

</div>

Yes. See this: [Question regarding creating multiple instances - #2 by akcoder](https://forum.genieacs.com/t/question-regarding-creating-multiple-instances/2038/2)
