Method for Black Box and White Box Tests
Testing Internet applicationsservices for scalability and performance is differentdiffers from testing individual software applicationscomponents andor application code. SOAService performance testing is focusedfocuses on understanding how a service respondsbehaves toas increasingthe levelsworkload ofincreases, including changes in concurrent requests, message sizes, message complexity, and response handlinghandling.
The natureAppvance methodology combines black-box and white-box testing. Black-box testing establishes how the service performs from the perspective of Internetits applicationsconsumer, testingwhile iswhite-box techniques can then be used to identify the internal operations responsible for performance bottlenecks.
The recommended approach is:
- Establish a baseline using black-box
testing; it doesn't matter what happens inside the box.Code profilers have their place in testing software and software developers often rely on them to learn the location ofperformanceproblems. However, black-box testing often yields more actionable knowledge, with these recommendations: testing.
Create a baseline performance
Compare performanceCalibrate and scalabilitycompare betweenthe test environment.
When comparing multiple servers, consumers, brokers, or brokersother byservice identifyingconfigurations, identify the Performance Index for each server'sconfiguration. Performance Index and normalizingNormalize the test parameters toand avoidenvironment reportingso falsethat slow-differences in infrastructure or workload do not produce misleading performance results. TheThis testcalibration isensures runthat properlysubsequent oncecomparisons theare testmeaningful.
After
Determineestablishing the Performance Index of the service under test andIndex, use white-box testingtechniques techniquessuch as code profiling to profileidentify the largestoperations that consume the most processing time expensivewhen objecthandling operationsrequests. Use this information to handledetermine requests.where Optimizeoptimization can provide the softwaregreatest basedperformance onimprovement.
Continue optimizingmeasurements.
Apply the serviceidentified by repeating steps 2optimizations and 3
final performance.
Run the Performance Index again under the calibrated test conditions and analyze the
This iscombination of black-box performance measurements and targeted white-box analysis provides the basis for understanding the Appvance methodmethodology offor testing services for scalability and performanceperformance.
Last updated: FebruaryAugust 22,12, 20232026
If you have any feedback onabout this topic, please contact us at documentation@appvance.ai.