mirror of
				https://github.com/Telecominfraproject/wlan-testing.git
				synced 2025-10-31 10:57:50 +00:00 
			
		
		
		
	 1cad47cbb0
			
		
	
	1cad47cbb0
	
	
	
		
			
			* ratelimiting with radius max-upload of group user4 added Signed-off-by: anil-tegala <anil.tegala@candelatech.com> * Wifi 9675 (#622) * Added wait in ios lib for verifyUploadanddownloadIOS Signed-off-by: goyalsaurabh06 <saurabh.goyal@candelatech.com> * fixed issue for safari browser and captive portal page popup failure Signed-off-by: goyalsaurabh06 <saurabh.goyal@candelatech.com> * Removed unused markers Signed-off-by: goyalsaurabh06 <saurabh.goyal@candelatech.com> * Wifi 9648 (#624) * Added print statement Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Fixed dfs issue for wifi-5 AP's Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Update ucentralgw-qa-deployment.yaml moving to main from RC3 * Wifi 9536 (#625) * Added radio_max_antenna method Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Added wifi capacity test Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Added wallys_dr40x9 AP Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Removed radio_max_antenna Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Fixed issues and added single client wct for 80Mhz Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Changed wifi capacity method name Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Update ucentralgw-qa-deployment.yaml moved to V.2.6.0-RC4 * Modified reservation duration to 12hrs (#627) Signed-off-by: dutta-rohan <94938704+dutta-rohan@users.noreply.github.com> * Update quali.yml (#628) * Removed unwanted batch size (#629) Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * group user3 upload, download limits interchanged Signed-off-by: anil-tegala <anil.tegala@candelatech.com> Co-authored-by: Saurabh Goyal <87760976+goyalsaurabh06@users.noreply.github.com> Co-authored-by: jitendracandela <78074038+jitendracandela@users.noreply.github.com> Co-authored-by: Raghunath Dendukuri <91698687+ragden69@users.noreply.github.com> Co-authored-by: dutta-rohan <94938704+dutta-rohan@users.noreply.github.com> Co-authored-by: YashSaxenaCT <101983853+YashSaxenaCT@users.noreply.github.com>
Test Case Execution Suite
Run on 1.X SDK
pytest -m sanity and not interop -s -vvv --testbed=basic-01 -o build=<firmware URL> --1.x
pytest -m sanity and interop -s -vvv --testbed=basic-01 -o build=<firmware URL> --1.x
pytest -m sanity_55 -s -vvv --testbed=basic-01 -o build=<firmware URL> --1.x  
pytest -m performance -s -vvv --testbed=basic-01 -o build=<firmware URL> --1.x
pytest -m firmware -s -vvv --testbed=basic-01 -o build=<firmware URL> --1.x
Run on 2.X SDK
pytest -m uc_sanity -s -vvv --testbed=basic-03 -o build=<firmware URL> 
pytest -m "performance and dataplane_throughput_test" -s -vvv --testbed=basic-03 -o build=<firmware URL>
You can customize the markets with and/or/not logical options
wlan-testing framework Information
pytest  uses setup > test > tear_down 
Fixtures : Code that needs to be part of more than 1 test cases, Setup and teardown is Implemented in Fixtures
Test cases are structured across different directories
├── wlan-testing                 
    ├── tests       /* Root directory for tests  */                
We have 3 main resource types:
- Controller
- Access Points
- Traffic Generator
Controller is meant to Provision the Access-Point
├── tests                       /* Pytest cases Directory */
    ├── controller_tests    /* controller has the REST API*/
        ├── conftest.py     /* Fixtures to be used by controller tests */        
        ├── test_api_login.py
        ├── test_api_customer.py
        ├── test_api_location.py
        ├── test_api_equipment.py
        ├── test_api_equipment_gateway.py
        ├── test_api_profile.py
        ├── test_api_firmware_management.py 
               
Access-Point is meant to be connected to controller, as well as should be able to provide wired and wireless connectivity to Both real and virtual Clients
├── tests                       /* Pytest cases Directory */
    ├── access_point_tests            
        ├── conftest.py     /* Fixtures to be used by access point tests */
        ├── test_connectivity.py
        ├── test_radio.py
        ├── test_featureA.py    To be added 
        ├── test_featureB.py
e2e (End to End) test cases are further structured into test case physical environment
Each Environment differs in testbed setup
            Controller      AP      Traffic Generator   PDU     Attenuator
basic  :        1           1           1 LANforge       1       0 Atten
advanced :      1           1           1 LANforge       1       1 Atten
interOp :       1           -           8 Perfecto       0       1 Atten
MDU  :          1           -           - LANforge       0
Scale  :        1           -           - LANforge       0
├── tests              /* Pytest cases Directory */
    ├── conftest.py    /* Global Fixtures for tests */        
├── tests            - /* Pytest cases Directory */
      ├── e2e
          ├── advanced
            ├── conftest.py     /* Fixtures specific to advanced LAB Environment */
          ├── basic
            ├── conftest.py     /* Fixtures specific to basic LAB Environment */     
          ├── interOp
            ├── conftest.py     /* Fixtures specific to interOp LAB Environment */
          ├── mdu
            ├── conftest.py     /* Fixtures specific to mdu LAB Environment */
          |── mesh
            ├── conftest.py     /* Fixtures specific to mesh LAB Environment */
          |── scale
            ├── conftest.py     /* Fixtures specific to scale LAB Environment */
Read the README.md in each e2e directory to get sample test case.
For any Clarifications, regarding Framework, 
Email : shivam.thakur@candelatech.com