This repository contains Postman collections for testing various Redfish API endpoints exposed by a Redfish Interface Emulator (typically running at localhost:5000). The collections simulate realistic system operations such as volume creation, BIOS settings update, virtual media mounting, and system resets.
Redfish-Interface-Emulator-Postman-Tests/
├── collections/
│ ├── Bios.postman_collection.json
│ ├── Volume.postman_collection.json
│ ├── Virtual Media.postman_collection.json
│ └── Computer System.postman_collection.json
└── README.md
Test scenarios for Redfish Volume API:
- Volume creation with RAID settings
- GET Volume
- GET Volume-1
- Error handling (capacity limits, chassis mismatch, duplicates)
- Volume deletion
Simulates remote media mount/unmount:
- Insert virtual media
- GET Virtual Media
- Eject media
System control through:
- Computer reset using
ComputerSystem.Reset
BIOS management via:
- BIOS attribute update (
BootMode, etc.) - GET BIOS Settings
- GET BIOS
- BIOS reset to default
All requests use HTTP Basic Authentication. Replace these placeholders with your actual credentials in Postman or environment variables:
"username": "{{username}}",
"password": "{{password}}"You can define these in your Postman environment.
- Postman (GUI) or Newman (CLI)
- Redfish emulator running locally (e.g.,
localhost:5000)
- Import each
*.postman_collection.jsonfile - Set up environment variables (
username,password,host, etc.) - Execute individual requests or full collections
newman run collections/Volume.postman_collection.json \
--env-var username=Administrator \
--env-var password=Password- Do not commit real credentials. Use environment variables or
.envfiles. - If you change the Redfish emulator port or host, update the URLs accordingly.
- Add Postman tests for Account and Session services
- Include Redfish schema validation
- Integrate with GitHub Actions for CI testing
- Add Newman report generation
This project is licensed under the MIT License (or specify another license).