Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
oai-cn5g-fed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
cn5g
oai-cn5g-fed
Commits
2e23c0ed
Commit
2e23c0ed
authored
8 months ago
by
Stefan Spettel
Browse files
Options
Downloads
Patches
Plain Diff
test(fed): Add HTTP/1 test
Signed-off-by:
Stefan Spettel
<
stefan.spettel@phine.tech
>
parent
330b966e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!174
Add HTTP/1 test
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/all_nfs.robot
+42
-0
42 additions, 0 deletions
test/all_nfs.robot
test/common.robot
+25
-0
25 additions, 0 deletions
test/common.robot
test/qos_tests.robot
+2
-14
2 additions, 14 deletions
test/qos_tests.robot
with
69 additions
and
14 deletions
test/all_nfs.robot
0 → 100644
+
42
−
0
View file @
2e23c0ed
# Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
#
contributor
license
agreements.
See
the
NOTICE
file
distributed
with
#
this
work
for
additional
information
regarding
copyright
ownership.
#
The
OpenAirInterface
Software
Alliance
licenses
this
file
to
You
under
#
the
OAI
Public
License,
Version
1.1
(the
"License");
you
may
not
use
this
file
#
except
in
compliance
with
the
License.
#
You
may
obtain
a
copy
of
the
License
at
#
#
http://www.openairinterface.org/?page_id=698
#
#
Unless
required
by
applicable
law
or
agreed
to
in
writing,
software
#
distributed
under
the
License
is
distributed
on
an
"AS
IS"
BASIS,
#
WITHOUT
WARRANTIES
OR
CONDITIONS
OF
ANY
KIND,
either
express
or
implied.
#
See
the
License
for
the
specific
language
governing
permissions
and
#
limitations
under
the
License.
#
------------------------------------------------------------------------------
#
For
more
information
about
the
OpenAirInterface
(OAI)
Software
Alliance:
#
contact@openairinterface.org
#
---------------------------------------------------------------------
*** Settings ***
Library
Process
Library
CNTestLib.py
Library
GNBSimTestLib.py
Resource
common.robot
Variables
vars.py
Suite Setup
Launch NRF CN With PCF HTTP1
Suite Teardown
Suite Teardown Default
Test Setup
Test Setup With Gnbsim
Test Teardown
Test Teardown With Gnbsim
*** Test Cases ***
Attach and Ping HTTP1
[
Tags
]
AMF
SMF
UDM
NRF
UDR
AUSF
UPF
PCF
Start Gnbsim
${GNBSIM_IN_USE}
${ip}
=
Check Gnbsim IP
${GNBSIM_IN_USE}
Ping From Gnbsim
${GNBSIM_IN_USE}
${EXT_DN1_IP}
This diff is collapsed.
Click to expand it.
test/common.robot
+
25
−
0
View file @
2e23c0ed
...
...
@@ -42,6 +42,20 @@ Launch NRF CN with PCF
Start CN
Check Core Network Health Status
Launch NRF CN with PCF HTTP1
@{list}
=
Create List
oai-amf
oai-smf
oai-udm
oai-nrf
oai-udr
oai-ausf
mysql
oai-ext-dn
oai-upf
oai-pcf
Prepare Scenario
${list}
nrf-cn-pcf
@{replace_list}
=
Create List
smf
support_features
use_local_pcc_rules
Replace In Config
${replace_list}
no
@{replace_list}
=
Create List
smf
support_features
use_local_subscription_info
Replace In Config
${replace_list}
no
@{replace_list}
=
Create List
http_version
Replace In Config
${replace_list}
1
Start Trace
core_network
Start CN
Check Core Network Health Status
Launch NRF CN For QoS
@{list}
=
Create List
oai-amf
oai-smf
oai-udm
oai-nrf
oai-udr
oai-ausf
mysql
oai-ext-dn
oai-ext-dn-2
oai-ext-dn-3
oai-upf
oai-pcf
Prepare Scenario
${list}
nrf-cn-qos
...
...
@@ -152,3 +166,14 @@ Deactive NF Registration in CN Config
Replace In Config
${replace_list}
no
@{replace_list}
=
Create List
amf
support_features_options
enable_smf_selection
Replace In Config
${replace_list}
no
Test Setup With Gnbsim
${gnbsim_name}
=
Prepare Gnbsim
Set Test Variable
${GNBSIM_IN_USE}
${gnbsim_name}
Start Trace
${TEST_NAME}
Test Teardown With Gnbsim
Stop Gnbsim
${GNBSIM_IN_USE}
Collect All Gnbsim Logs
Down Gnbsim
${GNBSIM_IN_USE}
Stop Trace
${TEST_NAME}
This diff is collapsed.
Click to expand it.
test/qos_tests.robot
+
2
−
14
View file @
2e23c0ed
...
...
@@ -29,8 +29,8 @@ Variables vars.py
Suite Setup
Launch NRF CN For QoS
Suite Teardown
Suite Teardown Default
Test Setup
Test Setup
QoS Tests
Test Teardown
Test Teardown
QoS Tests
Test Setup
Test Setup
With Gnbsim
Test Teardown
Test Teardown
With Gnbsim
*** Test Cases ***
...
...
@@ -125,15 +125,3 @@ QoS Flow GBR Session AMBR 2
Wait And Verify Iperf3 Result
${EXT_DN2_NAME}
5
Wait And Verify Iperf3 Result
${EXT_DN3_NAME}
10
*** Keywords ***
Test Setup QoS Tests
${gnbsim_name}
=
Prepare Gnbsim
Set Test Variable
${GNBSIM_IN_USE}
${gnbsim_name}
Start Trace
${TEST_NAME}
Test Teardown QoS Tests
Stop Gnbsim
${GNBSIM_IN_USE}
Collect All Gnbsim Logs
Down Gnbsim
${GNBSIM_IN_USE}
Stop Trace
${TEST_NAME}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment