Drive by, the only way will be a on road drive by with the meter road.
Most static tests are done as per MSA, 3/4 of max rpm, with meter 0.5m from exhaust, at 45deg angle to the exhaust outlet.
Of course a static test is off load so not always that relevant, and screamer pipes can present another issue.