Professional Documents
Culture Documents
QA Wiki
QA Wiki
https://git-scm.com/download/win
Updating Hopper - Pulling latest updates from Master to local system with GIT:
• Make sure that the panel on the page shows “Team Explorer”
• If not visible click View[menu]\Team Explorer
o If Team Explorer does not show then Select View > Team Explorer from menu
• Click on Sync
o If Sync does shows
▪
• Look for Fetch and Pull icons next to master
• Select the appropriate one in the next step but my look like this screen
▪
• Look at the available code updates (each may take a couple of seconds to start).
o FETCH will show you all the changes
o PULL will pull the updates down to your local system
• When you see Repository updated to commit you are ready for the next step
o
• Click Start
o
• Wait for it to finish. Hopper should open automatically.
• Check the version date to confirm it updated. Lower right corner of the Hopper home
page.
C:\DevTools\Foundation-QA\Hopper\TestAutomationSln\KWDT.UI\bin\Debug
• Sign in to the QA VM
o AZ-PC-QA1
o Credentials: Use your personal credentials
• Open Hopper project within Visual Studio
o C:\DevTools\Foundation-
QA\Hopper\TestAutomationSln\KWDT.UI\bin\debug\Hopper
• Confirm you are in the Master branch
• Switch to Team Explorer tab
• Click Sync
• Click “Fetch” incoming commits to view all available changes
• Click “Pull” incoming commits to pull available changes down to your system
• Click “Start” or “Build Solution” to update Hopper files and save all changes
Updating Hopper – Saving changes to Master branch within GIT (Applies only to Dev):
After all changes have been pushed to master and pull request has been approved:
• Log in to the QA VM
• Open TestAutomationSln in Visual Studio and pull changes to master, or use command
prompt to pull changes
• After changes have been pulled, Start Visual Studio and build project – that will update
the exe to the latest code
Hopper Resources:
Hopper code:
C:\DevTools\SUFS\QA\Hopper\TestAutomationSln
C:\DevTools\SUFS\QA\Hopper\Selenium Drivers
• 1st file explorer: C:\KWDT Temp Repo\[folder where file is you want to copy to VM]
• 2nd file explorer: \\AZ-PC-QA1\KWDT Temp Repo\[same folder as local]
Step to copy to VM
• Right click file you want to copy on 1 st file explorer and drag to 2nd file explorer and drop
Step to copy to VM
• Right click file you want to copy on 1 st file explorer and drag to 2nd file explorer and drop
Hopper Overview
Starting Hopper:
• By loading the TestAutomationSln project within Visual Studio and starting it directly from
there
o Open Visual Studio
o Pull down the latest version of Hopper
o Click the Start icon, which will launch Hopper
• By running the .exe file that’s created within the KWDT.UI folder
o Navigate to
C:\DevTools\SUFS\QA\Hopper\TestAutomationSln\KWDT.UI\bin\Debug
o Launch Hopper.exe
*If you select method 2, then be sure that Hopper has been updated to the latest version. To
update Hopper, you will need to execute method 1 first. Pull down the latest version of the
code and Build/Start it from within Visual Studio. This will automatically update your .exe file to
the latest version. This process needs to be done after every new Hopper version release. If a
latest version of Hopper is not available, then you can skip method 1 and simply launch the
.exe.
Hopper Homepage:
• Test Suites – area to create, update and execute automated test suites created in Hopper
• Test Sets – area to create, update and execute automated test sets created in Hopper
• Test Cases – area to create, update and execute automated test cases created in Hopper
• Test Reports – area to view results of previous test runs from each test category
• Global Variables – area to create/update both static and dynamic variables that are
referenced within tests. Also supports SQL report generating
• Logs - area to view text version of Test Reports, in case the test report is not generated
successfully
The version value refers to the current version of the Hopper instance that is saved on your
system. If your version number does not match the latest Hopper version, then it needs to be
updated in order to see the latest changes.
Test Results:
The test results page contains all the results from previously run tests ordered by their date of
execution. Double-clicking on an option in the list opens the report for that test. You may also
filter results using the search bar to find specific test results or to find test results of a certain
type.
If you run a test and the result is not displayed in this list, then it was not successfully saved to
the test results folder (C:\KWDT Temp Repo\Test Results). You may also check the Hopper logs
to find a txt version of the report, located in: C:\KWDT Temp Repo\Test Results\Logs
Global Variables:
The global variables page displays all variables that are generated during test execution or that are
manually created. A global variable is simply a reference to a value, or a value returned by a SQL query.
Test Editors:
The test editor pages allow you to add new elements to a test and update existing functionality. Each
test must have a unique name and is assigned a Status, which Browser it will execute on and within
which Environment. The Test Case Editor is the foundation for all other tests. Here you will create and
add new steps to a test case, which can then be pulled into a Test Set and then a Test Suite. At the
bottom of the page is a time stamp for that test, which tells you when the test was last updated and
saved.
Test Suites and Test Sets also contain the option to “Generate Workflow Graph.” This
functionality takes each of the pages that are accessed in a given test and maps it sequentially
within a workflow graph. This serves as a nice visual indicator of which areas within a program
are covered by your test.
From the Test Suite/Test Set Editor screen, when you click “Generate Workflow Graph,” a code
string will automatically be generated and copied to your clipboard. The Hopper will then open
a webpage called Mermaid Live Editor. Simply paste the string from your clipboard into the
"Code" section within the editor. That will automatically generate a graph within the "Preview"
section, as seen below.
Test Runner:
The test runner page is the same for all Test Suites/Sets/Cases. It displays each of the test cases
that will be executed and which test steps belong to those test cases. The test steps have
checkboxes next to them that serve as breakpoints. This allows you to stop the test execution
at any point then proceed by executing the steps one by one, or by continuing the automated
test as a whole.
Execution from command line:
To execute Hopper from command line you must first open the Command Prompt. Then navigate to the
location of the Hopper executable:
• C:\DevTools\Foundation-QA\Hopper\TestAutomationSln\KWDT.UI\bin\Debug
Hopper requires two parameters to be passed in order to successfully execute via command line. The
first, is your test type. This may be a Test Suite/Test Set/Test Case. Second, an absolute path to the test.
For example, "C:\KWDT Temp Repo\Test Cases\test.json"
• C:\DevTools\SUFS\QA\Hopper\TestAutomationSln\KWDT.UI\bin\Debug>Hopper.exe "TestCase"
"C:\KWDT Temp Repo\Test Cases\tes
Once you submit this request, Hopper will launch without its User Interface and execute a Test Case
called “test.json”
The result and screenshots will be stored in their default location, as with any form of Hopper execution.
Framework
VSTS Relationships
• User Story
o Created when new action or function is needed for automation.
o Created when new feature or function is needed for Hopper.
o Field setting:
▪ Programs: Set to appropriate AUT or core for global functionality.
▪ Item type: New Feature for R & D or Enhancement for known functionality.
• Bug
o When existing action\function fails
o When action or functionality no longer functions.
o When an element does not exist on a page.
o When an element can no longer be referenced correctly
o Field Settings
▪ Programs: Set to appropriate AUT or core for global functionality
▪ Item type: Maintenance
When creating a Bug or User Story make sure to include the following:
•
o Steps to reproduce issue or to access new functionality
o Screenshots for the new or broken item in question
o Description of expected functionality
o Attached Test Case(s) and Global Variables associated with the issue
Sample workflow: Item is created and set to New. Dev picks up the item, sets it to In
Development and begins work. After completion, Dev sets the item to Ready for QA. QA grabs
the item and moves it to In QA when testing begins. If testing is successful, QA sets the item
to Closed. If item fails testing it is set to Active. Dev will then grab the item and move it
accordingly.
Utilization
Using Hopper – Shared Steps
Create a test case with the steps you want to use repeatedly. This can be as simple as three
steps; Enter a username, enter a password then click Sign In.
Create a new test case. Where you want to add the shared steps select the “Add Shared Test
Step” button. The system will show all the test cases and you select the item and click the add
button. This will display the shared step as a single step within your test case. However, during
execution that step will then reference the other steps associated with it.
TIP: Including “Shared Step” in the name will make referencing the test case easier
• TIP: Hopper does not recognize commented out lines. Take out the comment lines that
are normally apart of a query within Microsoft SQL Server Management Studio before
copying into Hopper.
• If the query does NOT exist as a Global Variable, you will need to set it up as one
o Select Global Variables from the Hopper Homepage
o Select the “Add New Global Variable”
▪ Name = (fill in a name – be sure to use “_” underscores instead of spaces
▪ Value = since this is a SQL query no need to put in
▪ Use SQL script = Select check box if the variable will use sql query to
return a value.
▪ Enter SQL Script here = Create\Copy sql script into the field.
▪ Server Name = Server where the db tables reside. Defaults to
Test[environment].
▪ Column name = Name of column to pull the query result.
▪ Row Number = Row number to pull the result value from. To use a
random row, set to 1 and add the line “ORDER BY NEWID()” to the end of
your query.
▪ Description = Description of the value or query value being written to
global variable.[optional]
▪ Save the change
Using Hopper - Referencing other Global Variables within a SQL query
• If you need to pull data from one server, then use it within another server query, or you need
to use a dynamic value within a SQL query you can take advantage of this functionality. You
have the option to reference an existing Global Variable value within a SQL query, using
the $[globalVariableName] format. The "$[ ]" format tells Hopper to replace that string with
another value, stored within a Global Variable. You may also reference another SQL query using
this approach.
• Open the Test Cases you want to work on from the Test Case list page.
• To add an existing Global Variable, go to the step you want to add the Global Variable or add a
new step
o Add the program, page, element, and action information.
o Select “View Available Variables”
o Double click the Variable you want to use in the step
o Paste the variable name into the “Enter primary data for the action” field.
o Put in notes if you want
o Select “Add”
• If you are collecting some piece of information as a global variable for a latter step
o Open or add the step that you collect the information and enter the name for the global
variable. Note: The action name must contain the word “Collect” for this to work.
▪
o In the step where you will actually use the information you need the “$[ ]“around the
global variable name.
• Will be easiest to start fresh for the new year. This may means creating new suite, sets,
test cases & shared steps
o Will help us maintain the integrity of the original tests if we need them.
• Be sure to coordinate with your team members if you are working on similar files in
Hopper.
• Make sure your local machine has the most recent Test Cases, Sets & Suites on it.
• Create the Test Suite - change name of original to 20-21
o When duplicating make sure this done through the Hopper UI and not within a
folder. The Hopper UI generates a new test ID on the backend.
• Create the Test Set - change name of original to 20-21
o use the Hopper UI
• Create the Test Cases - change name of original to 20-21
o use the Hopper UI
• Make sure the NEW test cases have had the Test Plan ID and Test Point ID have been
updated to match what they where in the original test.
• If necessary duplicate any SharedSteps - change name of original to 20-21
• Open the Test Step that uses the NEW SharedStep
o add the new SharedStep
o move the new sharedstep below the old step
o delete the old sharedstep
o save the change
• Add new Test Cases to new Test Sets
• Add new Test Sets to new Test Suites
• Run the new Test Case to confirm it functions as expected
• Run the new Test Set it's associated with to confirm it functions as expected
• Run the new Test Suite it's associated with to confirm it functions as expected
• Copy the following files that you updated to the VM
o Test Cases & SharedSteps
o Test Sets
o Test Suites
Hopper Execution Report
After completion of a test run, Hopper generates a HTML report that summarizes execution and
provides valuable insight into the success\failure of the run.
NAVIGATION
How to collect a Test Plan ID, Test Suite ID and Test Point ID
Click on the three dots next to the Test Plan name and select EDIT
Find the number in the top left. That will be your Test Plan ID. In this case it is “7502”
Close the Test Plan and it will take you back to the previous screen. Click the Test Plan name “Ex: FTC
Regression Plan.”
This screen displays the different Test Suites within the selected Test Plan. Find the Test Plan that
contains your Test Case and select it. It will be highlighted in blue, like in the screenshot above for Test
Suite “FTC.” This will be the lowest subfolder the test is in. Once selected, you can find the Test Suite ID
at the top of the screen. In this case, it is “7504.”
With the two ID values collected, Test Plan ID (7502) and Test Suite ID (7504), you can now create your
API call to collect the Test Point ID. Use the example below:
Format:
https://dev.azure.com/sufs/Agile%20Project/_apis/test/Plans/TestPlanID#/Suites/TestSuiteID#/points?a
pi-version=5.0
Example:
https://dev.azure.com/sufs/Agile%20Project/_apis/test/Plans/7502/Suites/7504/points?api-version=5.0
Open a new Chrome tab and paste the API call in the search bar, then hit Enter.
You should see the following response:
Copy the entire response message and navigate to https://jsonformatter.org/ or
http://jsonviewer.stack.hu/
For jsonformatter.org Paste the response message in the left window. You should see a formatted
version of the message in the right window now.
The ID that appears at the top of the response in red is your Test Point ID. In this case, “17692”
For jsonviewer.stack.hu Paste the response message in the tab labeled Text. When you select the View
tab you will see a formatted version of the message
Screen shot of the Text tab
From that screen you can find the automation test you would like to execute.
In this example I'll kick off the test suite "Smoke Test - Lower Environment"
First, I'll select "Hopper Automation Framework", then "Test Suites" and finally, "Smoke Test - Lower
Environment"
QANode offline
Follow these steps if Jenkins show QANode agent offline or if reports are not correctly displayed.
Links & Logins.xlsx Various URL and log ins to EMA per environment
Gardiner
Application to SAS – Decision Trees folder located on Various Decision Trees around the Application (decision
SharePoint Information Technology Public Library > flows)
Product and Implementation > Documentation >
Application to SAS > Decision Trees
Application to SAS – Decision Trees folder located on Various Decision Trees around the Application
SharePoint Information Technology Public Library >
Product and Implementation > Documentation >
Application to SAS > Decision Trees
Epicor
E-commerce
Commerce database - explanation of queries used to Shows the connections between the Commerce db tables
show information that was entered into the database for Requisitions, Purchase Orders, and Invoices
Gardiner – table that shows the dates for the 2 year Shows the dates to see if a qualifying item would have
purchasing rule been purchased within the last 2 year or more than 2
year ago.
MSS External Approval – list of commodity codes and C- List of Commodity Codes with their C-T-D associated with
T-D it
Postman
Naming Convention
Test Case Naming convention
Provider Services - Post Jobs (this was related to when we were going to use MJE. Before we actually
implemented MJE it was decided to go into a different direction.
We have the following fields that the user will populate when Posting (Creating) a MJE job.
Example: MJE_Postjob_NS1_SL50_SCA_LSH_GLS_VN_ON
Would translate to NS1 = Number of Session = 1, SL50 = Session Length = 50 minutes, SCA = Service
Category = After School Program, LSH = Location of Service inHome, GLS = Single grade level, VN = no
video URL, ON = No opening message
• Awarded
• Continuing
• Enrolled
• Transportation
• Pending Award
See query: See query I:\QA Tools\SQL Queries - FTC-OLA\FTC-OLA - find Gardiner student
who is awarded - ie StudentScholarshipStatus = Awarded, Enrolled, Transportation, Pending
Award or Continuing
Lessons Learned:
Servers:
Bug Anatomy
HEADER [section]: The Details section contains the most pertinent information of the bug. Each field
and definition are given below
Field# Field Name Description
1 Bug ID System generated ID to track work item as it moves through work flow.
2 Title Brief summary describing the issue. May include AUT, but not required.
3 Owner Who the issue is assigned to. Defaults to ‘Unassigned.’
4 Comments Displays the number of responses in the Discussion thread. Links to thread if there is
one.
5 Tags Used to group common WIT’s together for tracking\querying purposes. Can have
multiple tags.
6 State The status of bug. Customized to meet need. Has all states of associated workflow.
7 Reason Shows last update of item. Not editable
8 Area Team area for grouping like items
9 Iteration Cycle in which Bug was found or in which validation of fix will take place.
10 Repro Steps Step(s) to take in order to reproduce issue. Should include screenshot(s) if possible.
11 System Info Configurations and\or setting for the system when issue occurred.
12 Discussions Thread type field for keep historical record of conversations. Sends email of discussion
to assigned owner or any user liked in thread with ‘@’symbol.
PLANNING [section]: Planning[section] contain values used to group, track, and estimate effort for
issue.
LINKS [section]: Associates issue to either development builds or other work item types, using a
hierarchical structure. All links are active and allow you to transition to associated items.
f.
5. All of your test cases from step for should now be visible within your test suite.
COMPLEX: Works best with copying various test cases from different suites, 6 or more with
sequential id’s, or querying for a specific group of test cases with matching criteria.
6. Identify the test case to be copied- A query might work best, but you could go to the various
suites that meet your criteria.
7. Right click and select Edit selected test cases[menu item].
8. From the Edit work items[popup]:
a. select Field Tags(Add).
b. Create a unique identifier for yourself( i.e. ‘SeanK’ , ‘Seans Tag, or ‘This is MINE!,’ etc.,..)
c. Optional: If you want to add a note for tracking, you can do so.
d. Click OK[button].
e.
9. Click the Save Test Cases[button] and repeat until all desired test cases have the tag.
a. Critical not to forget this step!
10. Go to the test suite you plan to copy to.
11. Click the Add existing[button] in the test suite.
a.
12. From the Add test cases to suite[popup], do the following:
a. Filter using ‘Tags’ and Operator ‘Contains’
b. Enter unique identifier you created
c. Click Run query[button]
d. Select all test cases to be copied
e. Click Add test cases[button]
13. Remove tag after successful copy (Do not forget this step or unwanted test cases will appear on
next attempt!)
a.
15. Go to Results[view]
16. Click the Save Items[button] and repeat until all desired test cases have the tag.
a. Critical not to forget this step!
Use this to author a new test case that is similar to an existing one.
a.
3. Edit the new test. You must at least change its title. Under Links, you might want to
delete the link to the old test case. NOTE: You may want to keep reference to original
test if you choose.
4. Click Save[button], NOT Save and Close[button]
5. Make note of Test Case ID
6. Go to Test suite you want to place the new test case in.
7. Use Add existing[button] and add cloned test case.
Pipelines are used to convey code changes from development to Production. Making sure that we
have the current pipeline in the environments is key to production efficiency. IE if we move the
wrong pipeline to Production means we have the wrong codes in production. Master shall never be
moved to Production without a Release Branch(Normal or Hotfix).
• Open VSTS
• Select Pipelines > Pipelines
• Look for each pipeline name and check what branch it's in (Master or Release Branch)
o
o OR
To merge pipelines into Master (usually handled by Dev but can be done by QA if necessary)
1. Select Pipeline > Pipelines to get to the list of them. (left side tool bar)
a.
2. Select the pipeline name that is showing as a release or hotfix branch (can also select the
more option to the right and select Run Pipeline if you do this skip step 2
a. Text Description automatically generated
3. Select the Run Pipeline button
a. Graphical user interface, Application Description automatically generated
4. Set filters and run
a. Agent Pool = SUFS Pool
b. Set Branch/tag = Master
c. Select Run Button
5. Repeat for all pipelines
Foundation System currently have the following pipelines for normal use.
• ProdDMZ
o FTC_Web
o Gardiner_Web
• Prod_Internal
o Application Reports
o Claims Windows Services
o FTC Processing
o FTC Window Services
o FTC.DbUp (occupationally moved)
o Gardiner Processing
o Gardiner Window Services
o Gardiner.DbUp (occupationally moved)
• Refreshes
o Approval Scores Api
o Identity Server (do not push this as of May 2022)
o Micros Services
o Ola Api
o Ola App
o Ola Support
o Portal App
• Commerce
o Ariba.Approvals.WebJobs
o Ariba.Data.DbUp
o Ariba.Exports
o Ariba.Exports.WebJobs
o Commerce.Api
o Commerce.Mvc
• Epicor
o Epicor.Api
o FTC Epicor Integration
o Gardiner Epicor Integration
Env2 deployment – follow same steps as deploying other branches, however only 1 branch/program
will deploy at a time, all other requests will be put in a queue and push one at a time.
Tip: If you open your sprint suite and highlight each test you can see if you have copied it to a Program
or Regression suite.
VSTS – How to see all of the test suites a test case is in if you only know the test case number.
With the Test case number, you can now create your API call to collect the find the suites the test case is
in.
Format:
https://dev.azure.com/{organization}/_apis/test/suites?testCaseId={testCaseId}&api-version=5.0
Example:
https://dev.azure.com/Sufs/_apis/test/suites?testCaseId=45623&api-version=5.0
Open a new Chrome tab and paste the API call in the search bar, then hit Enter.
You should see the following response:
Copy the entire response message and navigate to http://jsonviewer.stack.hu/ or your favorite json
viewer.
For jsonviewer.stack.hu Paste the response message in the tab labeled Text. When you select the View
tab you will see a formatted version of the message
For example
VSTS – use queries to find User stories, Test Cases, Shared steps and more.
• Link to document
VSTS – as of February 2021 can no longer switch - How to switch the Test Plan view from the new
view to the old view or back
The following is a screen shot of the difference between the old view and the new view.
Old View:
New View:
To change the view select the user setting icon next to the user avatar in upper right of the screen
Select the Preview features
look for and turn OFF the "New Test Plans Page" (you can set to ON to turn it on)
On the Turn off New Test Plan Page popup select "Turn Off" button
You will need to reopen the VSTS test plan page.
During the scholarship application intake process we run a API that checks to see if the student is
getting Free or Reduced lunch. This information is based on student SSN - last 4 digits, LastName -
first 3 letters, DOB - mm/dd/yyyy. Since this is difficult to get in test environment what we have
some feature switches that allow us to force the response to be Yes. As a IT user you can log into
SAS and go to Menu search for Feature (Administration > Configure Feature Settings..They are
• · FreeReducedLunch0Students
• · FreeReducedLunch1Student
• · FreeReducedLunch2Students
When you use this be sure to post a note out to the Team > SQA Squad > Configuration
Notification. As soon as the application is in SAS turn the Feature switch back to FALSE.
The response for this shows in 2 places on the AP Worksheet. At the student level is shows as Direct
Certification Student. If any student on the application returns a YES then under the Categorically
Eligible section on the top section left side will show as Direct Certification Household.
Just be sure that if you turn the switch on and you turn if off as soon as you are done with the test.
Postman Testing
Install Desktop Application
Postman is best utilized through the application, even though it is accessible through a browser. To get
app:
1. Go to https://www.getpostman.com/apps
2. Download Windows 64-bit version.
Accessing Workspace
Postman Workspaces automatically share your collaborative projects with your teammates. Easily
maintain a sole source of layout, comment on documentation, and notify your teammates. We have
upgraded our license to Postman Pro and can now take advantage of 2 additional logins. We also use
team workspaces for sharing and collaboration.
Below are the currently available workspaces and a brief description of it purpose
NLP Logic Used for the API calls that are being set up for NLP Logix and ESA's
Portal Workspace Contains collections and endpoints tied to the new SSO portal
project.
Processing Workspace API collections built and monitored for processing functionality.
Sandbox Workspace Catch all workspace for practice and older Api's that have not been
associated to a workspace.
**There previously was a developers workspace maintained by Brian Teryek with different login
credentials.
To access collections\requests do the following:
1. Launch Postman application on local machine.
2. Use Login credentials:
a. Postman Pro Team:
i. Username: SUFS_Tester\ SUFS_Tester1\ SUFS_Tester2
ii. Password: sufs1api!
b. Postman standalone[Brian Teryek]:
i. Username: sufsnextgen
ii. Password: sufsnextgen
1.
3. On the lefthand side, open the Workflow folder (Or whichever one that is created for the
testing)
Creating Collections
TBD
Creating Requests
Request Types
1. Set up the Environment Variable most of the following are associated with getting an
access token one is specifically associated with the URL that the API will be going to.
1. IdentidtyServer.AccessToken - must have the variable but this is actually
updated when the API is ran that has the pres-request script to get the
token
2. IdentityServer.Access.TokenUrl - get from the developer.
3. IdentityServer.ClientID - have been using Newman
4. IdentityServer.ClientSecret = Secret
5. IdendityServer.Scopes = Api name ie commerceapi, eppicorapi
6. IdentitySeerver.AcessTokenExpires = must have the variable but this is
actually updated when the API is ran that has the pres-request script to
get the token
7. URL that the API will be going to. Get from the developer/
1. ie Epicor.Api.BaseUrl = https://erp10testint.sufs.org/Erp1
0TestIntegration1023/api
2. ie Commerce.Api.BaseUrl
= https://sufscommerceapitest.azurewebsites.net
2. At the collection level set up the Authorization page
1. Select the ellipsis (...) associated with the collection name
2. Select the Edit button
3. Select Authorization tab
1. Type = OAuth 2.0
2. Access token put in {{IdentityServer.AccessToken}}
3. At the collection level set up the Pre-request Script page
1. Select the ellipsis (...) associated with the collection name
2. Select the Edit button
3. Select the Pre-request Scripts tab (you can copy the script from the
Epicor Workspace > Epicor.Api (CI/CD) collection.)
4. At the request level, set up the line that calls the API with the URL ie {{
Commerce.Api.BaseURL}} or {{Epicor.Api.Base.Url}}
1.
Manual Authorization
Different endpoints may require authorization(permission to back-end functionality), This is handled
through token requests. Once your request has been created do the following:
1.
2. For the Token credential
1. Token Name: test
2. Auth ULR: {{IdentityServerBaseUrl}}/connect/authorize
3. Access Token URL: {{identityServerBaseUrl}}/connect/token
4. Client ID: testclient
5. Client Secret: secret
6. Scope: olaapi
7. Grant Type: Authorization Code
8. Missing screen shot – unsure exactly where this was from. If you get to it then add new screen
shot.
1.
2.
3. Click Request Token - Commerce API Authentication
1. Edit Whole collection, folder collection, or individual request(s).
2. Click Authorization[tab]
3. Set TYPE=> 'OAuth 2.0
4. Set Add auth data to => Request Headers
5. Click Get Token Access[button]
1.
2.
3. Scope
4. Screen shot
a)
7) if a collection it will create the collection if just a single call you will need to save it where
you want to save it.
Request Management
Individual Requests
Sending Collections
Response Management
Response Body
Creating Test
Troubleshooting
Test are failing in general: try the following steps
Screenshot:
1.
4. Confirm that the Initial Value and the Current Value column match.
5. Confirm that the Values in Postman match the values in the Postman - environment
variables spreadsheet, if necessary update Postman values
6. If the values do match the spreadsheet then put a notice on the appropriate team
channel
1. Epicor API's on the channel - Financial Systems > Technical Implementation
2. Commerce API's on the channel - MyScholarShop > Technical
Implementation
3. Ariba API's on the channel - MyScholarShop > Technical Implementation
4. Put a notice on the appropriate team channel
1. Epicor API's on the channel - Financial Systems > Technical Implementation
2. Commerce API's on the channel - MyScholarShop > Technical Implementation
3. Ariba API's on the channel - MyScholarShop > Technical Implementation
401 Authorization