Batch testing establishes what can be claimed about the lot as a whole, and the sample size determines how much you can actually claim.
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.
More usefully, 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.
Lyophilised peptide homogeneity studies show that vial-to-vial variation is usually small but occasionally large, depending on the distribution in the freeze-dryer.
Assume segregation is possible, and design your sampling to catch it if it exists.
edited 11 Nov 2024 by Dr_Sara_Kuusela — reworded for clarity after a comment