---
page_source: https://docs.juspay.io/retry/docs/how-to-integrate/cug-testing
page_title: CUG Testing
---


# **CUG Testing Steps** 



* The Closed User Group (CUG) functions as a testing process to validate new features and UI adjustments before deploying them into the live production environment.
* This step ensures that modifications do not disrupt the smooth flow of live transactions.
* Upon successful validation of UI changes and feature functionality within the CUG environment, please provide your approval so that we can initiate the release process.
* Once the release is completed, the updated features and UI modifications will be rolled out to all live users, ensuring a seamless transition.

> **Warning**
> **CUG changes take time to reflect on Android/iOS devices hence it is recommended to terminate the app a couple of times to get the changes.** 




### Android



1. Install the CUG apk that is mentioned below
   
   * APK link : [https://assets.juspay.in/hyper/bundles/app/cug-test/cug-ext.apk](https://assets.juspay.in/hyper/bundles/app/cug-test/cug-ext.apk)
2. Once installed, try loading your app's payment page for 3-4 times. If changes are still not visible then you might also try clearing the cache of your app.
3. Post the above steps, you will be able to see the changes.
   
   > **Note**
   > Once installed, the CUG APK will not create any app on your Android device. Therefore, after installing the CUG APK, you can directly begin testing the flow.


### **iOS** 



_**For iOS Version < 16**_ 

   Change your iOS device name (Settings > General > About > Name) to **Whale999** 

1. Once done, try loading your app's payment page.
2. In 3-4 runs you will start getting the new bundles and you can start testing

_**For iOS version = > 16**_ 

1. Please find the CUG.ipa file attached below. 
   
   * IPA Link : [https://](https://assets.juspay.in/hyper/bundles/app/cug-test/cugext.ipa)[assets.juspay.in/hyper/bundles/app/cug-test/cugext.ipa](https://assets.juspay.in/hyper/bundles/app/cug-test/cugext.ipa)
2. Upload the downloaded file on [https://www.diawi.com/](https://www.diawi.com/) and scan from your iOS device.
3. Please also do the below steps.Settings > General > Device Management and Trust > Juspay Technology Pvt Ltd.
4. Once installed, try loading your app's payment page.
5. In 3-4 runs you will start getting the new bundles and you can start testing.
   
   Note: For iOS, if it's not working even after 3-4 runs, please check in your**Info.plist** file, if an entry for **cug-ext**  exists. If not, please add and try again.


### **Desktop Web** 



1. In chrome tab, while on the payment page, change the user agent to **Hyper/track=cug**
2. You can do the above by doing: inspect > 3 dots on top right > more tools > Network conditions > user agent > disable use browser default -> below enter **Hyper/track=cug**
3. After changing the user agent refresh the payment page and you will start getting the updated bundles.
   
   ![Image](https://dth95m2xtyv8v.cloudfront.net/tesseract/assets/resources/Screenshot%202022-12-27%20at%207.35.51%20PM%20(1).png)
   *Desktop Web*


### **iOS Mweb** 



1. Connect your iOS device to your desktop and open safari browser on your desktop and on your iOS device.
2. In your iOS device’s safari browser, open the website required or go to payment page.
3. In desktop safari browser, go to develop option > select device name connect > click on web url you want to inspect.
4. Once inspect opened, you can device setting option at top.
5. Click on user agent dropdown  > select Other > enter **Hyper/track=cug,iPhone**  > click enter button.
   
   ![Image](https://dth95m2xtyv8v.cloudfront.net/tesseract/assets/resources/Screenshot%202022-08-11%20at%206.03.39%20PM.png)
   *iOS Mweb*


### **Android Mweb** 



1. Connect your android device to your laptop and enable/allow USB debugging option in your android device.
2. In android device’s chrome browser, open the website required or go to payment page.
3. In desktop chrome browser, go to chrome://inspect/#devices option > click on web url you want to inspect
4. Once you click inspect -> change the user agent to **Hyper/track=cug, Android**
5. You can do the above change by following these steps :- Click on ‘Inspect’ > 3 dots on top right > more tools > Network conditions > user agent > disable use browser default  > below enter **Hyper/track=cug, Android**
6. After changing the user agent refresh the payment page and you will start getting the updated bundles.