Start from the question: how many vials from this lot do I need to test to claim that the lot meets specification, and the answer depends on both the lot size and the acceptable risk.
The sample size determination requires choosing a confidence level and an acceptable error rate, and the smaller the error rate you want, the larger your sample must be.
Under AQL sampling plans, testing two vials from a fifty-vial lot gives you an operating characteristic curve that tells you what risks you are accepting.
Published data on lot homogeneity from manufacturers who sample multiple vials consistently find variation below the published specifications, suggesting the sampling plans work.
Assume segregation is possible, and design your sampling to catch it if it exists.
edited 16 Nov 2025 by s_kalniete — added the citation requested in comments