Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adnanmc/fsn-t_dep_gate_change
Data seed script for performance testing
https://github.com/adnanmc/fsn-t_dep_gate_change
Last synced: about 1 month ago
JSON representation
Data seed script for performance testing
- Host: GitHub
- URL: https://github.com/adnanmc/fsn-t_dep_gate_change
- Owner: adnanmc
- Created: 2020-02-03T13:04:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-27T18:20:24.000Z (over 3 years ago)
- Last Synced: 2024-11-09T10:41:25.525Z (3 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.txt
Awesome Lists containing this project
README
This script is created to perform mass departure gate change in Sabre Movement Control via MCEG rest api
Date and Time values must be in UTC and 24 hr format
Date must be follow YYYYMMDD string format
example Date: 20200130
example Time: 2346Before running the script:
1- make sure flight data is populated correctly in data.csv (do not change column name, script will throw error)
2- in config.json file make sure correct "MVT" environment, "post_dep_gate_url" and "how_many_gate_change_per_flight" is setNote: "how_many_gate_change_per_flight" is the upper limit.
If its 10 then script will run for 10 minute with 10 gate change request per flight.
If its 50 then it will run for 50 minute same way. Adjust the values accordingly.To run the script:
1- Make sure python 3.8 or later version installed in your system
2- from command line, navigate to folder where you saved these files and type: python script.py and press Enter key