Common types of performance tests include:
1. **Load Testing:**
- Tests system behavior under specific load
- Validates system performance under expected conditions
2. **Stress Testing:**
- Tests system behavior under peak load
- Identifies breaking points
3. **Endurance Testing:**
- Tests system behavior over extended periods
- Identifies memory leaks and resource issues
Example of JMeter test plan:
<div class="code-block" data-lang="xml"><div class="highlight"><pre><span></span><span class="cp"><?xml version="1.0" encoding="UTF-8"?></span>
<jmeterTestPlan version="1.2">
<hashTree>
<TestPlan>
<elementProp name="TestPlan.user_defined_variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
</TestPlan>
</hashTree>
</jmeterTestPlan>