Skip to main content
Apr 29, 2016 7:38 PM UTC
Question

Is there a way to create dummy data for Activities, in order to perform more realistic tests?

Hi! I'm developer and I'm using the REST  API. I'd like to make manual tests. To do it I need to create more data, let's say dummy data. Is there a way I can do it in order to test Leads Activities?

Thank you.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

11 replies

Grégoire_Miche2
Level 10
Apr 29, 2016 7:46 PM UTC

Hi Nicolas,

You can import leads and custom objects, but you cannot import activities.

There is no real possibility to create activities except through doing it manually, browsing, filling out forms, etc...

But the API will not enable you to temper with existing activities, neither, so there is no much risk using real production data for this specific need.

-Greg

Translate
Grégoire_Miche2
Level 10
Apr 29, 2016 7:48 PM UTC

Also,

You should rather post your questions in "products" than in champions, many more people will read them and will be likely to answer.

-Greg

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Apr 29, 2016 7:50 PM UTC

You can script HTTP requests using Selenium or suchlike. But as Greg says, there's no way to create a truly synthetic backfill of the Activity Log. It reflects actual activity.

Translate
Andy_Varshneya1
Level 7
Apr 29, 2016 8:00 PM UTC

You can create custom activities in Marketo via the API if that's an option. The activity type will just be limited to "Custom" though.

Translate
Grégoire_Miche2
Level 10
Apr 29, 2016 9:23 PM UTC

Hi Andy,

Are you sure of this ?

my understanding is that with the REST API, you can create custom objects (or even import them, BTW), but not custom activities. Unless there is an undocumented API call

-Greg

Translate
May 9, 2016 2:15 PM UTC

Thank you, Grégoire, Sanford and Andy! Your answers have been very useful. It's very appreciated.

Translate