privacysandbox / aggregation-service

This repository contains instructions and scripts to set up and test the Privacy Sandbox Aggregation Service
Apache License 2.0
64 stars 34 forks source link

How to mock up Hundreds of thousands reports for Stress Test #64

Closed yanghuang1028 closed 4 months ago

yanghuang1028 commented 4 months ago

Hi team,

Our aggregation service is running successfully now, and we plan to daily use it when our app releases.

But before the release, we have to do some stress tests on it. To simulate real business scenarios, we need to mock 400k aggregatable reports for aggregation service to decrypt. Is there any convenient way for us to create so many reports for testing? Currently, I have to manually register souce & trigger event to send an aggregatable report to GCS, which is really inefficient...

Thanks, Yang