Load testing for download firmware api

how do i do load testing of the download firmware api, like how many devices can it handle at a time, like if i trigger download firmware of a file on 10000 devices at a time from the genieacs hosted on my server, will the genieacs file system take the load ?
i am using GitHub - GeiserX/genieacs-docker: Automated configuration files for your GenieACS deployment

how do i do load testing give me some way, as i just tried to hit the download api 2000 times for the genieacs sim which wasn’t actually downloading the file, so the api requests were successful but didn’t really give the satisfaction to me since file isn’t being downloaded.

Also i want to know if genieacs supports a third party file systems like buckets for downloads instead of its Gridfs.

Use curl: curl http://fs_ip_address:7567/file.bin –output /dev/null

Not at this time.

will this actually download the file from the server?
Use curl: curl http://fs_ip_address:7567/file.bin –output /dev/null

coz i get 200 status code and this output from this api:
@./new_firmware_v1.0.bin

Anyone kindly please reply. Also for the third party file systems like buckets that i was talking about, one example for that is Amazon S3 bucket so is it compatible with genieacs

the curl method should be fine. if you’d like to see if it is downloaded just replace the –output from /dev/null to file.bin.
The second question. You can redirect the downloads to a different server with the environment variable:
GENIEACS_FS_URL_PREFIX=http://download.example.com/

I usually use the second option behind reverse proxy so that downloads are balanced and not even loaded on the genieacs system.

where do i make this change like what file or code ?

In the genieacs.env file

1 Like