Modules needed
- ui-users
- ui-inventory
- mod-inventory-storage-modules
- ui-bulk-edit
- mod-data-export worker
- mod-data-export-spring
Testing expectations
- Bulk edit user records
- Bulk edit item records with the updates to locations and statues
- Run multiple bulk edits concurrently
- Run bulk edit while exporting:
- circulation logs
- bursar data
- EDIFACT
- eHoldings
Demo
User records:
View file | ||||
---|---|---|---|---|
|
Item records:
View file | ||||
---|---|---|---|---|
|
Bulk edit testing setup
- Files with user barcodes (100, 1000, 2500,5000)
- Files with item barcodes (100, 1000, 10
- 000, 100 000)
- Files with holdings HRIDs (100, 1000, 10 000, 100 000)
- Users configured with following permissions:
- Bulk Edit: (CSV) Edit and Bulk Edit: (CSV) View - for user records testing
- Bulk Edit: In ppp Edit and Bulk Edit: In app View - for user item records testing
- JMeter tests repository: https://github.com/folio-org/folio-perf-test/tree/master/Folio-Test-Plans/bulk-edit
User records testing scenarios
- User status updates
- Upload file with barcode identifierswith user barcodes
- Click Start bulk edit option in Action menu and make following changes
- Set patron group to <value available on test environment>
- Set expiration date to November 1, 2025
- Replace ".com" with ".org" in the email box
- Confirm the changes
- Commit the changes
- Verify the changes are correct
- Download the file with matching updated records
- Update user status and user group and save the file
- Upload the file to trigger bulk edit
- Commit changes
- Download the file with errors (if applicable)
- Item records updates:
- Upload file with item barcodes
- Click Start bulk edit option in Action menu and make following changes:
- Set Temporary location to Clear field
- Set Permanent location to < to the value available on test environment>
- Set Status to Unknown
- Set Temporary loan type to Clear field
- Set Permanent loan type to < to the value available on test environment>
- Confirm the changes
- Commit the changes
- Verify the changes are correct
- Download the file with updated records
- Download the file with errors (if applicable)
- Holdings records updates:
- Upload file with barcode identifiersHRIDs
- Click Start bulk edit option in Action menu and make following changes:
- Set Temporary location to Clear field
- Set Permanent location to < to <to the value available on test environment>
- Set Status to Unknown
- Confirm the changes
- Commit the changes
- Verify the changes are correct
- Download the file with updated records
- Download the file with errors (if applicable)
Concurrent and consecutive tests:
Failover tests questionsEach of the following scenarios to be tested separately. Scenarios are ordered by priority
Scenario 1. Run simultaneously bulk edits:
- one job for 2500 user records
- one job for 10k item records
(If possible ramp up the number of records to 5k and 100k for users and items respectively)
Scenario 2. Run simultaneously bulk edits:
- one job for 2500 user records
- one job for 10k holdings records
(If possible ramp up the number of records to 5k and 100k for users and items respectively)
Scenario 3. Run consecutively four jobs editing 2500 user records
Scenario 4. Run consecutively four jobs editing 10k item records
Scenario 5. Run simultaneously four jobs editing 2500 user records
Scenario 6. Run simultaneously four jobs editing 10k item records
Scenario 7. Run simultaneously four jobs editing 10k holdings records
Failover tests:
- Determine likelihood of failover
- Does tasks restart?
- Does other task pick up the jobs that were in progress?
User records - in app approach:
Item records:
Holdings records: