简体   繁体   中英

Validate entity fields using Snowplow Micro

According to this Snowplow Micro blog post , you can validate:

  • The value of specific fields sent with specific events is as expected
  • The correct contexts / entities are sent with the appropriate events

However, it doesn't look like it is possible to see any detail about what values were passed for the attached entities.

This means that Micro is good for validating certain events were logged and that entities were attached, but we can't verify anything about the attached entities beyond their existence. If, as part of an automated QA process, we want to validate that when an entity has a particular property set another property is also set, how should we go about achieving that?

Credit to Paul Boocock on Discourse :

In the parameters object, the cx property represents the contexts but they are Base64 encoded. If you you decode this you will get another JSON object containing the entities.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM