goldfingr at December 26th, 2017 13:34 — #1
We have been using OnePageCRM for a while, but just got into using the API. One thing that struck me immediately is, that there doesn't seam to be development environment separate from your actual account. Am I missing something?
I'm looking for something that covers these three requirement:
- develop against a sanbox that doesn't contain production data
- run automated tests against a sandbox
- have separate keys for dev, qa, testing and production with different level of need for security. E.g. dev and testing keys could be check into the repository while qa and prod wouldn't.
Is the only way to achieve that to have 3 to 4 different accounts (and pay for them)?
liam at January 2nd, 2018 05:02 — #2
We do not currently offer a developer account. The process which developers normally take when creating integrations is to create a trial account and develop code against that before connecting to a live account. But I can understand that the month can be too short for development and QA purposes. If you contact firstname.lastname@example.org we can help you with an account with a longer trial.
I would suggest not running automated tests against any API. It would cause unnecessary load on the API and may result in unexpected errors or delays due to networking issues. Instead you could stub out the API requests in your test suite to return fabricated data in the same format, or even record requests once and replay them in the tests.
May I ask what type of integration you are working on? Will it be an internal integration only for your account, or publicly available to anyone?