From 4d99acf7ebacdbea13de68f01b6f928e108ec521 Mon Sep 17 00:00:00 2001 From: bishojit12 Date: Sat, 15 Apr 2023 03:06:16 +0600 Subject: [PATCH 01/10] new selenium code push --- bishojit/.idea/workspace.xml | 51 ++++++++++ bishojit/GlobalIT/.idea/.gitignore | 3 + bishojit/GlobalIT/.idea/compiler.xml | 13 +++ bishojit/GlobalIT/.idea/encodings.xml | 7 ++ bishojit/GlobalIT/.idea/jarRepositories.xml | 20 ++++ bishojit/GlobalIT/.idea/misc.xml | 12 +++ bishojit/GlobalIT/.idea/vcs.xml | 6 ++ bishojit/GlobalIT/pom.xml | 92 +++++++++++++++++++ .../src/main/java/com/gits/GlobalIT/App.java | 13 +++ .../com/gits/Herokuapp/InvalidPassword.java | 58 ++++++++++++ .../compile/default-compile/createdFiles.lst | 1 + .../compile/default-compile/inputFiles.lst | 1 + .../default-testCompile/createdFiles.lst | 1 + .../default-testCompile/inputFiles.lst | 1 + .../TEST-com.gits.GlobalIT.AppTest.xml | 62 +++++++++++++ .../com.gits.GlobalIT.AppTest.txt | 4 + 16 files changed, 345 insertions(+) create mode 100644 bishojit/.idea/workspace.xml create mode 100644 bishojit/GlobalIT/.idea/.gitignore create mode 100644 bishojit/GlobalIT/.idea/compiler.xml create mode 100644 bishojit/GlobalIT/.idea/encodings.xml create mode 100644 bishojit/GlobalIT/.idea/jarRepositories.xml create mode 100644 bishojit/GlobalIT/.idea/misc.xml create mode 100644 bishojit/GlobalIT/.idea/vcs.xml create mode 100644 bishojit/GlobalIT/pom.xml create mode 100644 bishojit/GlobalIT/src/main/java/com/gits/GlobalIT/App.java create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidPassword.java create mode 100644 bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst create mode 100644 bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst create mode 100644 bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst create mode 100644 bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst create mode 100644 bishojit/GlobalIT/target/surefire-reports/TEST-com.gits.GlobalIT.AppTest.xml create mode 100644 bishojit/GlobalIT/target/surefire-reports/com.gits.GlobalIT.AppTest.txt diff --git a/bishojit/.idea/workspace.xml b/bishojit/.idea/workspace.xml new file mode 100644 index 0000000..4cb8ec8 --- /dev/null +++ b/bishojit/.idea/workspace.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + 1681500234387 + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/.idea/.gitignore b/bishojit/GlobalIT/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/bishojit/GlobalIT/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/bishojit/GlobalIT/.idea/compiler.xml b/bishojit/GlobalIT/.idea/compiler.xml new file mode 100644 index 0000000..3fc682a --- /dev/null +++ b/bishojit/GlobalIT/.idea/compiler.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/.idea/encodings.xml b/bishojit/GlobalIT/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/bishojit/GlobalIT/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/.idea/jarRepositories.xml b/bishojit/GlobalIT/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/bishojit/GlobalIT/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/.idea/misc.xml b/bishojit/GlobalIT/.idea/misc.xml new file mode 100644 index 0000000..56c7380 --- /dev/null +++ b/bishojit/GlobalIT/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/.idea/vcs.xml b/bishojit/GlobalIT/.idea/vcs.xml new file mode 100644 index 0000000..b2bdec2 --- /dev/null +++ b/bishojit/GlobalIT/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/pom.xml b/bishojit/GlobalIT/pom.xml new file mode 100644 index 0000000..efd20e0 --- /dev/null +++ b/bishojit/GlobalIT/pom.xml @@ -0,0 +1,92 @@ + + + + 4.0.0 + + com.gits.GlobalIT + GlobalIT + 1.0-SNAPSHOT + + GlobalIT + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + + + + + + + + + + + + + org.testng + testng + 7.7.1 + test + + + + + org.seleniumhq.selenium + selenium-java + 4.8.3 + + + + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + + + diff --git a/bishojit/GlobalIT/src/main/java/com/gits/GlobalIT/App.java b/bishojit/GlobalIT/src/main/java/com/gits/GlobalIT/App.java new file mode 100644 index 0000000..8141e60 --- /dev/null +++ b/bishojit/GlobalIT/src/main/java/com/gits/GlobalIT/App.java @@ -0,0 +1,13 @@ +package com.gits.GlobalIT; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidPassword.java b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidPassword.java new file mode 100644 index 0000000..a1ce369 --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidPassword.java @@ -0,0 +1,58 @@ +package com.gits.Herokuapp; + +import org.openqa.selenium.By; +import org.openqa.selenium.WebDriver; +import org.openqa.selenium.WebElement; +import org.openqa.selenium.chrome.ChromeDriver; +import org.testng.Assert; +import org.testng.annotations.Test; + +public class InvalidPassword { + + @Test + public void invalidPassword() throws InterruptedException { + + //precondition-chorme browser open + WebDriver driver = new ChromeDriver(); + driver.manage().window().maximize(); + + + //navigate to the URL + driver.get("https://the-internet.herokuapp.com/"); + Thread.sleep(1000); + + //click the form authentication link + WebElement formAuth = driver.findElement(By.cssSelector("#content > ul > li:nth-child(21) > a")); + formAuth.click(); + Thread.sleep(1000); + + //enter valid username + WebElement userName = driver.findElement(By.cssSelector("#username")); + userName.sendKeys("tomsmith"); + Thread.sleep(1000); + + //enter invalid password + WebElement wrongPass = driver.findElement(By.cssSelector("#password")); + wrongPass.sendKeys("#password"); + Thread.sleep(1000); + + //click on login link + WebElement loginBtn = driver.findElement(By.cssSelector("#login > button > i")); + loginBtn.click(); + Thread.sleep(2000); + + //login button invalid password massage + WebElement invalidMassage = driver.findElement(By.cssSelector("#flash")); + String actualLoginMassageText = invalidMassage.getText(); + String expectedLoginMassageText = "Your password is invalid!\n"+"×"; + Assert.assertEquals(actualLoginMassageText ,expectedLoginMassageText); + + //browser close + driver.close(); + + //webDriver close + driver.quit(); + + + } +} diff --git a/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..d099588 --- /dev/null +++ b/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1 @@ +com\gits\GlobalIT\App.class diff --git a/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..f5ba816 --- /dev/null +++ b/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1 @@ +F:\Github\students2023\bishojit\GlobalIT\src\main\java\com\gits\GlobalIT\App.java diff --git a/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..f89d6c9 --- /dev/null +++ b/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst @@ -0,0 +1 @@ +com\gits\GlobalIT\AppTest.class diff --git a/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..910b7b6 --- /dev/null +++ b/bishojit/GlobalIT/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1 @@ +F:\Github\students2023\bishojit\GlobalIT\src\test\java\com\gits\GlobalIT\AppTest.java diff --git a/bishojit/GlobalIT/target/surefire-reports/TEST-com.gits.GlobalIT.AppTest.xml b/bishojit/GlobalIT/target/surefire-reports/TEST-com.gits.GlobalIT.AppTest.xml new file mode 100644 index 0000000..82ec5a4 --- /dev/null +++ b/bishojit/GlobalIT/target/surefire-reports/TEST-com.gits.GlobalIT.AppTest.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/target/surefire-reports/com.gits.GlobalIT.AppTest.txt b/bishojit/GlobalIT/target/surefire-reports/com.gits.GlobalIT.AppTest.txt new file mode 100644 index 0000000..085cf93 --- /dev/null +++ b/bishojit/GlobalIT/target/surefire-reports/com.gits.GlobalIT.AppTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: com.gits.GlobalIT.AppTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 s - in com.gits.GlobalIT.AppTest From e28dcd84bfed4cb59d88f92786e791183fb5c484 Mon Sep 17 00:00:00 2001 From: bishojit12 Date: Sat, 15 Apr 2023 16:00:04 +0600 Subject: [PATCH 02/10] Three new codes added --- bishojit/GlobalIT/.idea/uiDesigner.xml | 124 ++++++++++++++++++ .../java/com/gits/Herokuapp/.idea/.gitignore | 0 .../java/com/gits/Herokuapp/.idea/misc.xml | 6 + .../java/com/gits/Herokuapp/.idea/modules.xml | 8 ++ .../java/com/gits/Herokuapp/.idea/vcs.xml | 6 + .../com/gits/Herokuapp/.idea/workspace.xml | 53 ++++++++ .../java/com/gits/Herokuapp/Herokuapp.iml | 11 ++ .../com/gits/Herokuapp/InvalidUsername.java | 56 ++++++++ .../Herokuapp/InvalidUsernamePassword.java | 55 ++++++++ .../gits/Herokuapp/ValidUsernamePassword.java | 55 ++++++++ 10 files changed, 374 insertions(+) create mode 100644 bishojit/GlobalIT/.idea/uiDesigner.xml create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/.gitignore create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/misc.xml create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/modules.xml create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/vcs.xml create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/workspace.xml create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Herokuapp.iml create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidUsername.java create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidUsernamePassword.java create mode 100644 bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/ValidUsernamePassword.java diff --git a/bishojit/GlobalIT/.idea/uiDesigner.xml b/bishojit/GlobalIT/.idea/uiDesigner.xml new file mode 100644 index 0000000..2b63946 --- /dev/null +++ b/bishojit/GlobalIT/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/.gitignore b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/misc.xml b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/modules.xml b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/modules.xml new file mode 100644 index 0000000..3c8ccd1 --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/vcs.xml b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/vcs.xml new file mode 100644 index 0000000..07117e4 --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/workspace.xml b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/workspace.xml new file mode 100644 index 0000000..23e5731 --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/workspace.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + 1681539702676 + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Herokuapp.iml b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Herokuapp.iml new file mode 100644 index 0000000..39002cd --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Herokuapp.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidUsername.java b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidUsername.java new file mode 100644 index 0000000..5f265e2 --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidUsername.java @@ -0,0 +1,56 @@ +package com.gits.Herokuapp; + +import org.openqa.selenium.By; +import org.openqa.selenium.WebDriver; +import org.openqa.selenium.WebElement; +import org.openqa.selenium.chrome.ChromeDriver; +import org.testng.Assert; +import org.testng.annotations.Test; + +public class InvalidUsername { + String expectedLoginMassageText=" Your username is invalid!/n"+"x"; + @Test + public void invalidUsername() throws InterruptedException { + //precondition-Chrome browser open + WebDriver driver=new ChromeDriver(); + driver.manage().window().maximize(); + + //navigate to the URL + driver.get("https://the-internet.herokuapp.com/"); + Thread.sleep(1000); + + //Click the Authentication link + WebElement formAuth = driver.findElement(By.cssSelector("#content > ul > li:nth-child(21) > a")); + formAuth.click(); + Thread.sleep(1000); + + //Enter invalid username + WebElement userName=driver.findElement(By.cssSelector("#username")); + userName.sendKeys("tinsmith"); + Thread.sleep(1000); + + //Enter valid password + WebElement passWord=driver.findElement(By.cssSelector("#password")); + passWord.sendKeys("SuperSecretPassword!"); + Thread.sleep(1000); + + //Click the login link + WebElement login=driver.findElement(By.cssSelector("#login > button")); + login.click(); + Thread.sleep(2000); + + //Login invalid username massage + WebElement invalidMassageText=driver.findElement(By.cssSelector("#flash")); + String actualLoginMassageText=invalidMassageText.getText(); + String expectedLoginMassageText="Your username is invalid!\n"+"×"; + Assert.assertEquals(actualLoginMassageText,expectedLoginMassageText); + + //Browser close + driver.close(); + + //Web driver close + driver.quit(); + + } + +} diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidUsernamePassword.java b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidUsernamePassword.java new file mode 100644 index 0000000..1d3157d --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/InvalidUsernamePassword.java @@ -0,0 +1,55 @@ +package com.gits.Herokuapp; + +import org.openqa.selenium.By; +import org.openqa.selenium.WebDriver; +import org.openqa.selenium.WebElement; +import org.openqa.selenium.chrome.ChromeDriver; +import org.testng.Assert; +import org.testng.annotations.Test; + +public class InvalidUsernamePassword { + @Test + public void inValidUsernamePassword() throws InterruptedException { + + //precondition-chorme browser open + WebDriver driver = new ChromeDriver(); + driver.manage().window().maximize(); + + + //navigate to the URL + driver.get("https://the-internet.herokuapp.com/"); + Thread.sleep(1000); + + //click the form authentication link + WebElement formAuth = driver.findElement(By.cssSelector("#content > ul > li:nth-child(21) > a")); + formAuth.click(); + Thread.sleep(1000); + + //enter invalid username + WebElement userName = driver.findElement(By.cssSelector("#username")); + userName.sendKeys("tinsmith"); + Thread.sleep(1000); + + //enter invalid password + WebElement wrongPass = driver.findElement(By.cssSelector("#password")); + wrongPass.sendKeys("SuperPassword!"); + Thread.sleep(1000); + + //click on login link + WebElement loginBtn = driver.findElement(By.cssSelector("#login > button > i")); + loginBtn.click(); + Thread.sleep(2000); + + //login button valid massage + WebElement invalidMassage = driver.findElement(By.cssSelector("#flash")); + String actualLoginMassageText = invalidMassage.getText(); + String expectedLoginMassageText = "Your username is invalid!\n"+"×"; + Assert.assertEquals(actualLoginMassageText, expectedLoginMassageText); + + //browser close + driver.close(); + + //webDriver close + driver.quit(); + } +} diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/ValidUsernamePassword.java b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/ValidUsernamePassword.java new file mode 100644 index 0000000..9586418 --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/ValidUsernamePassword.java @@ -0,0 +1,55 @@ +package com.gits.Herokuapp; + +import org.openqa.selenium.By; +import org.openqa.selenium.WebDriver; +import org.openqa.selenium.WebElement; +import org.openqa.selenium.chrome.ChromeDriver; +import org.testng.Assert; +import org.testng.annotations.Test; + +public class ValidUsernamePassword { + @Test + public void validUsernamePassword() throws InterruptedException { + + //precondition-chorme browser open + WebDriver driver = new ChromeDriver(); + driver.manage().window().maximize(); + + + //navigate to the URL + driver.get("https://the-internet.herokuapp.com/"); + Thread.sleep(1000); + + //click the form authentication link + WebElement formAuth = driver.findElement(By.cssSelector("#content > ul > li:nth-child(21) > a")); + formAuth.click(); + Thread.sleep(1000); + + //enter valid username + WebElement userName = driver.findElement(By.cssSelector("#username")); + userName.sendKeys("tomsmith"); + Thread.sleep(1000); + + //enter valid password + WebElement wrongPass = driver.findElement(By.cssSelector("#password")); + wrongPass.sendKeys("SuperSecretPassword!"); + Thread.sleep(1000); + + //click on login link + WebElement loginBtn = driver.findElement(By.cssSelector("#login > button > i")); + loginBtn.click(); + Thread.sleep(2000); + + //login button valid massage + WebElement validMassage = driver.findElement(By.cssSelector("#flash")); + String actualLoginMassageText = validMassage.getText(); + String expectedLoginMassageText = "You logged into a secure area!\n" + "×"; + Assert.assertEquals(actualLoginMassageText, expectedLoginMassageText); + + //browser close + driver.close(); + + //webDriver close + driver.quit(); + } +} \ No newline at end of file From 42ef10a3316d4c51b0743dbacae8f51ab3b4bbb7 Mon Sep 17 00:00:00 2001 From: bishojit12 Date: Sat, 15 Apr 2023 18:23:55 +0600 Subject: [PATCH 03/10] new selenium work update --- .idea/workspace.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ae51301..05a4937 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,11 +2,7 @@ - - - - diff --git a/bishojit/.idea/vcs.xml b/bishojit/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/bishojit/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/bishojit/.idea/workspace.xml b/bishojit/.idea/workspace.xml index 4cb8ec8..57aeb04 100644 --- a/bishojit/.idea/workspace.xml +++ b/bishojit/.idea/workspace.xml @@ -1,7 +1,10 @@ - + + + + + + + + + + + + + + diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/.gitignore b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/misc.xml b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/modules.xml b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/modules.xml new file mode 100644 index 0000000..3c8ccd1 --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/vcs.xml b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/vcs.xml new file mode 100644 index 0000000..07117e4 --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Herokuapp.iml b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Herokuapp.iml new file mode 100644 index 0000000..39002cd --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Herokuapp.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Pom/ABTesting.java b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Pom/ABTesting.java index ac0f116..5a0251e 100644 --- a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Pom/ABTesting.java +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Pom/ABTesting.java @@ -1,4 +1,26 @@ package com.gits.Herokuapp.Pom; -public class ABTesting { +import org.openqa.selenium.WebDriver; +import org.openqa.selenium.WebElement; +import org.openqa.selenium.support.FindBy; + +public class ABTesting extends BasePage{ + + public ABTesting(WebDriver driver){ + super(driver); + } + + //Ab Test Variation Header1 + @FindBy(css = "#content > div > h3") + public WebElement abTestVariationHeader1; + public WebElement getAbTestVariationHeader1 () { + return abTestVariationHeader1; + } + //Ab Test Variation Paragraph + @FindBy(css = "#content > div > p") + public WebElement abTestVariationParagraph; + public WebElement getAbTestVariationParagraph () { + return abTestVariationParagraph; + } + } diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Pom/LandingPage.java b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Pom/LandingPage.java index d6f2491..317c755 100644 --- a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Pom/LandingPage.java +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Pom/LandingPage.java @@ -6,10 +6,241 @@ public class LandingPage extends BasePage{ - public LandingPage(WebDriver driver) { + public LandingPage(WebDriver driver){ super(driver); } - @FindBy(css = "#content > ul > li:nth-child(21) > a") - public WebElement formAuthentication; + @FindBy(css = "li:nth-of-type(1) > a") + public WebElement ABTesting; + public WebElement getABTesting(){ + return ABTesting; + } + + @FindBy(css = "li:nth-of-type(2) > a") + public WebElement addRemoveElement; + public WebElement getAddRemoveElement(){ + return addRemoveElement; + } + + @FindBy(css = "ul > li:nth-of-type(3)") + public WebElement basicAuth; + public WebElement getBasicAuth(){ + return basicAuth; + } + + @FindBy(css = "li:nth-of-type(4) > a") + public WebElement brokenImages; + public WebElement getBrokenImages(){ + return brokenImages; + } + + @FindBy(css = "ul > li:nth-of-type(6)") + public WebElement checkBoxes; + public WebElement getCheckBoxes(){ + return checkBoxes; + } + + @FindBy(css = "#content > ul > li:nth-child(7) > a") + public WebElement contextMenu; + public WebElement getContextMenu(){ + return contextMenu; + } + + @FindBy(css = "li:nth-of-type(9) > a") + public WebElement disappearingElements; + public WebElement getDisappearingElements(){ + return disappearingElements; + } + + @FindBy(css = "li:nth-of-type(10) > a") + public WebElement dragAndDrop; + public WebElement getDragAndDrop(){ + return dragAndDrop; + } + + @FindBy(css = "li:nth-of-type(11) > a") + public WebElement dropDown; + public WebElement getDropDown(){ + return dropDown; + } + + @FindBy(css = "ul > li:nth-of-type(15)") + public WebElement entryAd; + public WebElement getEntryAd(){ + return entryAd; + } + + @FindBy(css = "ul > li:nth-of-type(16)") + public WebElement exitIntent; + public WebElement getExitIntent(){ + return exitIntent; + } + + @FindBy(css = "ul > li:nth-of-type(17)") + public WebElement fileDownload; + public WebElement getFileDownload(){ + return fileDownload; + } + + @FindBy(css = "li:nth-of-type(18) > a") + public WebElement fileUpload; + public WebElement getFileUpload(){ + return fileUpload; + } + + @FindBy(css = "ul > li:nth-of-type(19)") + public WebElement floatingMenu; + public WebElement getFloatingMenu(){ + return floatingMenu; + } + + @FindBy(css = "ul > li:nth-of-type(20)") + public WebElement forgetPassword; + public WebElement getForgetPassword(){ + return forgetPassword; + } + + @FindBy(css = "li:nth-of-type(21) > a") + public WebElement formAuthentication; + public WebElement getFormAuthentication(){ + return formAuthentication; + } + + @FindBy(css = "ul > li:nth-of-type(22)") + public WebElement frames; + public WebElement getFrames(){ + return frames; + } + + @FindBy(css = "li:nth-of-type(23) > a") + public WebElement geoLocation; + public WebElement getGeoLocation(){ + return geoLocation; + } + + @FindBy(css = "ul > li:nth-of-type(24)") + public WebElement horizontalSlider; + public WebElement getHorizontalSlider(){ + return horizontalSlider; + } + + @FindBy(css = "ul > li:nth-of-type(25)") + public WebElement hovers; + public WebElement getHovers(){ + return hovers; + } + + @FindBy(css = "li:nth-of-type(26) > a") + public WebElement infiniteScroll; + public WebElement getInfiniteScroll(){ + return infiniteScroll; + } + + @FindBy(css = "ul > li:nth-of-type(27)") + public WebElement inputs; + public WebElement getInputs(){ + return inputs; + } + + @FindBy(css = "li:nth-of-type(28) > a") + public WebElement jqueryUiMenus; + public WebElement getJqueryUiMenus(){ + return jqueryUiMenus; + } + + @FindBy(css = "li:nth-of-type(29) > a") + public WebElement javaScriptAlerts; + public WebElement getJavaScriptAlerts(){ + return javaScriptAlerts; + } + + @FindBy(css = "li:nth-of-type(30) > a") + public WebElement javaScriptError; + public WebElement getJavaScriptError(){ + return javaScriptError; + } + + @FindBy(css = "ul > li:nth-of-type(31)") + public WebElement keyPresses; + public WebElement getKeyPresses(){ + return keyPresses; + } + + @FindBy(css = "ul > li:nth-of-type(32)") + public WebElement largeAndDeepDom; + public WebElement getLargeAndDeepDom(){ + return largeAndDeepDom; + } + + @FindBy(css = "li:nth-of-type(33) > a") + public WebElement multipleWindows; + public WebElement getMultipleWindows(){ + return multipleWindows; + } + + @FindBy(css = "li:nth-of-type(34) > a") + public WebElement nestedFrames; + public WebElement getNestedFrames(){ + return nestedFrames; + } + + @FindBy(css = "li:nth-of-type(35) > a") + public WebElement notificationMessages; + public WebElement getNotificationMessages(){ + return notificationMessages; + } + + @FindBy(css = "ul > li:nth-of-type(36)") + public WebElement redirectLink; + public WebElement getRedirectLink(){ + return redirectLink; + } + + @FindBy(css = "li:nth-of-type(37) > a") + public WebElement secureFileDownload; + public WebElement getSecureFileDownload(){ + return secureFileDownload; + } + + @FindBy(css = "ul > li:nth-of-type(38)") + public WebElement shadowDom; + public WebElement getShadowDom(){ + return shadowDom; + } + + @FindBy(css = "ul > li:nth-of-type(39)") + public WebElement shiftingContent; + public WebElement getShiftingContent(){ + return shiftingContent; + } + + @FindBy(css = "ul > li:nth-of-type(40)") + public WebElement slowResources; + public WebElement getSlowResources(){ + return slowResources; + } + + @FindBy(css = "li:nth-of-type(41) > a") + public WebElement sortableDataTable; + public WebElement getSortableDataTable(){ + return sortableDataTable; + } + + @FindBy(css = "li:nth-of-type(42) > a") + public WebElement statusCodes; + public WebElement getStatusCodes(){ + return statusCodes; + } + + @FindBy(css = "ul > li:nth-of-type(43)") + public WebElement typos; + public WebElement getTypos(){ + return typos; + } + + @FindBy(css = "li:nth-of-type(44) > a") + public WebElement wysiwygEditor; + public WebElement getWysiwygEditor(){ + return wysiwygEditor; + } } diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/TestCases/ABTestingValidation.java b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/TestCases/ABTestingValidation.java new file mode 100644 index 0000000..996ac4a --- /dev/null +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/TestCases/ABTestingValidation.java @@ -0,0 +1,36 @@ +package com.gits.Herokuapp.TestCases; + +import com.gits.Herokuapp.Pom.ABTesting; +import com.gits.Herokuapp.Pom.LandingPage; +import org.testng.Assert; +import org.testng.annotations.Test; + +public class ABTestingValidation extends BaseTests { + + + @Test + public void ABTestingValidation (){ + + LandingPage lp = new LandingPage(driver); + ABTesting at = new ABTesting(driver); + + + //click on ABTesting link + lp.ABTesting.click(); + + //validate Header1 massage + at.getAbTestVariationHeader1().isDisplayed(); + String actualHeader1Massage = at.getAbTestVariationHeader1().getText(); + String expectedHeader1Massage = "A/B Test Variation 1"; + Assert.assertEquals(actualHeader1Massage , expectedHeader1Massage); + + //validate paragraph massage + at.getAbTestVariationParagraph().isDisplayed(); + String actualParagraphMassage = at.getAbTestVariationParagraph().getText(); + String expectedParagraphMassage = "Also known as split testing. This is a way in which businesses are able to simultaneously test and learn different versions of a page to see which text and/or functionality works best towards a desired outcome (e.g. a user action such as a click-through)."; + Assert.assertEquals(actualParagraphMassage , expectedParagraphMassage); + + } + + +} diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Utilites/Data.java b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Utilites/Data.java index bdfa07e..4f503d5 100644 --- a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Utilites/Data.java +++ b/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/Utilites/Data.java @@ -2,7 +2,119 @@ public class Data { - public static final String BASE_URL = "https://the-internet.herokuapp.com/"; + public static final String PHONE_NUMBER ="01400220509"; + public static final String POSITIVE_MASSAGE ="Visible"; + public static final String NEGATIVE_ERROR_MASSAGE ="Not Visible"; + public static final String CREATE_NEW_ACCOUNT = "Create New Account"; + + //base url + public static final String BASE_URL ="https://the-internet.herokuapp.com/"; + + + //ABTesting + public static final String AB_TESTING = "A/B Testing"; + public static final String AB_TEST_VARIATION = "A/B Test Variation"; + public static final String AB_TEST_CONTROL = "A/B Test Control"; + public static final String AB_TEST_LINK = "abtest"; + + //add remove element + public static final String ADD_REMOVE_ELEMENT_LINK = "add_remove-elements/"; + + //Broken images + public static final String BROKEN_IMAGE_LINK = "broken_images"; + public static final String BROKEN_IMAGE_HEADER = "Broken images"; + + //checkbox + public static final String CHECK_BOX1_SELECTED = "check box 1 selected"; + public static final String CHECK_BOX2_SELECTED = "check box 2 selected"; + public static final String CHECK_BOX_LINK = "checkboxes"; + + //disappearing elements + public static final String DISAPPEARING_ELEMENTS = "disappearing_elements"; + + //Drag and Drop + public static final String DRAG_AND_DROP_LINK = "drag_and_drop"; + + //Drop down + public static final String DROP_DOWN_LINK = "dropdown"; + public static final String DROP_DOWN_OPTION1_TEXT = "option 1"; + public static final String DROP_DOWN_OPTION2_TEXT = "option 2"; + + //Dynamic Content + public static final String DYNAMIC_CONTENT_LINK = "dynamic_content"; + + //Dynamic control + public static final String DYNAMIC_CONTROL_LINK = "dynamic_control"; + + //File Download + public static final String DOWNLOAD_LINK = "download"; + public static final String DOWNLOAD_FILE_PATH = "C:\\Users\\eeeeeeeeeeeeeeeeeeee\\Downloads"; + + //File Upload + public static final String FILE_UPLOAD_URL = "https://the-internet.herokuapp.com/upload"; + public static final String FILE_UPLOAD_PATH = "?"; + public static final String UPLOAD_LINK = "upload"; + + //File Upload Corresponding Page + public static final String FILE_UPLOAD_CORRESPONDING_HEADER = "file uploaded!"; + + //Forgot Password + public static final String FORGOT_PASSWORD_LINK = "forgot_password"; + public static final String FORGOT__PASSWORD_HEADER = "forgot password"; + public static final String FORGOT_PASSWORD_PAGE_EMAIL = "paulbadhan6128@gmail.com"; + + //Form Authentication + public static final String FORM_AUTHENTICATION_LINK = "login"; + public static final String FORM_AUTHENTICATION_HEADER1 = "login page"; + public static final String FORM_AUTHENTICATION_HEADER2 = "This is where you can log into the secure area.Enter tomsmith for the username and SuperSecretPassword!for the password. If the information is wrong,you should see error messages."; + public static final String FORM_AUTHENTICATION_USER_NAME = "tomsmith"; + public static final String FORM_AUTHENTICATION_PASSWORD = "super secret password!"; + public static final String FORM_AUTHENTICATION_ALERT_TEXT = "the user name is invalid!"; + + //Frames + public static final String FRAMES_LINK = "frames"; + public static final String INPUTS_TEXT = "Hi,my name is badhan.god make my wish fulfill.your iframe is working and inputs is working."; + + //Horizontal slider + public static final String HORIZONTAL_SLIDER_LINK = "horizontal_slider"; + public static final String HORIZONTAL_SLIDER_HEADER1 = "horizontal slider"; + + //Mouse Hover + public static final String MOUSE_HOVER_LINK = "hovers"; + + //Multiple Window + public static final String MULTIPLE_WINDOW = "windows"; + + //InfiniteScroll + public static final String INFINITE_SCROLL_LINK = "infinite_scroll"; + + //Inputs + public static final String INPUTS_LINK = "inputs"; + + //JsAlert + public static final String JAVA_SCRIPT_ALERT_LINK = "javascript_alerts"; + + //Notification + public static final String NOTIFICATION_MASSAGE_LINK = "notification_massage_rendered"; + + //Notification massage + public static final String REDIRECT_LINK = "redirector"; + public static final String REDIRECTION_PAGE_HEADER_1 = "Redirection"; + + //status code 200 + public static final String STATUS_CODE_200_LINK = "status_codes/200"; + + //status code 301 + public static final String STATUS_CODE_301_LINK = "status_codes/301"; + + //status code 404 + public static final String STATUS_CODE_404_LINK = "status_codes/404"; + + //status code 500 + public static final String STATUS_CODE_500_LINK = "status_codes/500"; + + + } diff --git a/bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.gitignore b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.gitignore similarity index 100% rename from bishojit/GlobalIT/src/test/java/com/gits/Herokuapp/.gitignore rename to bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.gitignore diff --git a/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/Herokuapp.iml b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/Herokuapp.iml new file mode 100644 index 0000000..39002cd --- /dev/null +++ b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/Herokuapp.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/0352d3bf-2d62-4fec-9927-63afbd74fcba-container.json b/bishojit/internetherokuapp/allure-results/0352d3bf-2d62-4fec-9927-63afbd74fcba-container.json new file mode 100644 index 0000000..eac99e6 --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/0352d3bf-2d62-4fec-9927-63afbd74fcba-container.json @@ -0,0 +1 @@ +{"uuid":"0352d3bf-2d62-4fec-9927-63afbd74fcba","name":"Default Suite","children":["74bd5040-c897-45d3-9af6-b99a54004333"],"befores":[],"afters":[],"start":1683309458189,"stop":1683309475115} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/0dcfdb78-a96b-4892-bc27-577698221909-container.json b/bishojit/internetherokuapp/allure-results/0dcfdb78-a96b-4892-bc27-577698221909-container.json new file mode 100644 index 0000000..5eb1a6c --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/0dcfdb78-a96b-4892-bc27-577698221909-container.json @@ -0,0 +1 @@ +{"uuid":"0dcfdb78-a96b-4892-bc27-577698221909","name":"internetherokuapp","children":["94528f7d-1f81-4f21-8076-47b2d39dd623"],"befores":[],"afters":[],"start":1683309414430,"stop":1683309432939} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/3080378a-8b9c-44d4-8794-cc8b1f27a320-container.json b/bishojit/internetherokuapp/allure-results/3080378a-8b9c-44d4-8794-cc8b1f27a320-container.json new file mode 100644 index 0000000..58f63b7 --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/3080378a-8b9c-44d4-8794-cc8b1f27a320-container.json @@ -0,0 +1 @@ +{"uuid":"3080378a-8b9c-44d4-8794-cc8b1f27a320","name":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidPasswordValidation","children":["94528f7d-1f81-4f21-8076-47b2d39dd623"],"befores":[{"name":"beforeClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1683309414467,"stop":1683309421215}],"afters":[{"name":"afterClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1683309432607,"stop":1683309432939}],"start":1683309414433,"stop":1683309432939} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/32455b88-faca-4900-863a-4ce2a91e8f02-container.json b/bishojit/internetherokuapp/allure-results/32455b88-faca-4900-863a-4ce2a91e8f02-container.json new file mode 100644 index 0000000..23b80d3 --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/32455b88-faca-4900-863a-4ce2a91e8f02-container.json @@ -0,0 +1 @@ +{"uuid":"32455b88-faca-4900-863a-4ce2a91e8f02","name":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidUserNamePasswordValidation","children":["7c02cc5c-d5b0-4937-a358-d39994dc0746"],"befores":[{"name":"beforeClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1683309458230,"stop":1683309460904}],"afters":[{"name":"afterClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1683309474672,"stop":1683309475020}],"start":1683309458199,"stop":1683309475115} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/50510fab-f558-4417-a20a-3041df2006f6-container.json b/bishojit/internetherokuapp/allure-results/50510fab-f558-4417-a20a-3041df2006f6-container.json new file mode 100644 index 0000000..8ca5b34 --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/50510fab-f558-4417-a20a-3041df2006f6-container.json @@ -0,0 +1 @@ +{"uuid":"50510fab-f558-4417-a20a-3041df2006f6","name":"com.gits.internetherokuapp.configuration.BaseTest.afterMethod","children":["94528f7d-1f81-4f21-8076-47b2d39dd623"],"description":"","befores":[],"afters":[{"name":"afterMethod","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1683309432607,"stop":1683309432607}],"start":1683309432593,"stop":1683309432607} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/6cc7b5e5-5783-496c-81c8-9e28c700aada-container.json b/bishojit/internetherokuapp/allure-results/6cc7b5e5-5783-496c-81c8-9e28c700aada-container.json new file mode 100644 index 0000000..4df11fa --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/6cc7b5e5-5783-496c-81c8-9e28c700aada-container.json @@ -0,0 +1 @@ +{"uuid":"6cc7b5e5-5783-496c-81c8-9e28c700aada","name":"com.gits.internetherokuapp.configuration.BaseTest.beforeMethod","children":["94528f7d-1f81-4f21-8076-47b2d39dd623"],"description":"","befores":[{"name":"beforeMethod","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1683309421229,"stop":1683309426992}],"afters":[],"start":1683309421229,"stop":1683309426992} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/74bd5040-c897-45d3-9af6-b99a54004333-container.json b/bishojit/internetherokuapp/allure-results/74bd5040-c897-45d3-9af6-b99a54004333-container.json new file mode 100644 index 0000000..164dfcd --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/74bd5040-c897-45d3-9af6-b99a54004333-container.json @@ -0,0 +1 @@ +{"uuid":"74bd5040-c897-45d3-9af6-b99a54004333","name":"internetherokuapp","children":["7c02cc5c-d5b0-4937-a358-d39994dc0746"],"befores":[],"afters":[],"start":1683309458198,"stop":1683309475020} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/7c02cc5c-d5b0-4937-a358-d39994dc0746-result.json b/bishojit/internetherokuapp/allure-results/7c02cc5c-d5b0-4937-a358-d39994dc0746-result.json new file mode 100644 index 0000000..45e2f4f --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/7c02cc5c-d5b0-4937-a358-d39994dc0746-result.json @@ -0,0 +1 @@ +{"uuid":"7c02cc5c-d5b0-4937-a358-d39994dc0746","historyId":"e19b34bf2b099b726c7d03e5a4f7fcfe","fullName":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidUserNamePasswordValidation.inValidUsernamePassword","labels":[{"name":"package","value":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidUserNamePasswordValidation"},{"name":"testClass","value":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidUserNamePasswordValidation"},{"name":"testMethod","value":"inValidUsernamePassword"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"internetherokuapp"},{"name":"subSuite","value":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidUserNamePasswordValidation"},{"name":"host","value":"ACER"},{"name":"thread","value":"19416@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"inValidUsernamePassword","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1683309467376,"stop":1683309474640} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/94528f7d-1f81-4f21-8076-47b2d39dd623-result.json b/bishojit/internetherokuapp/allure-results/94528f7d-1f81-4f21-8076-47b2d39dd623-result.json new file mode 100644 index 0000000..207d6b5 --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/94528f7d-1f81-4f21-8076-47b2d39dd623-result.json @@ -0,0 +1 @@ +{"uuid":"94528f7d-1f81-4f21-8076-47b2d39dd623","historyId":"12aaf4ec6e62a23ee3aa379285bcfeee","fullName":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidPasswordValidation.formAuthentication","labels":[{"name":"package","value":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidPasswordValidation"},{"name":"testClass","value":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidPasswordValidation"},{"name":"testMethod","value":"formAuthentication"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"internetherokuapp"},{"name":"subSuite","value":"com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidPasswordValidation"},{"name":"host","value":"ACER"},{"name":"thread","value":"2636@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"formAuthentication","status":"failed","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"expected [Your username is invalid!\n×] but found [Your password is invalid!\n×]","trace":"java.lang.AssertionError: expected [Your username is invalid!\n×] but found [Your password is invalid!\n×]\r\n\tat org.testng.Assert.fail(Assert.java:110)\r\n\tat org.testng.Assert.failNotEquals(Assert.java:1577)\r\n\tat org.testng.Assert.assertEqualsImpl(Assert.java:149)\r\n\tat org.testng.Assert.assertEquals(Assert.java:131)\r\n\tat org.testng.Assert.assertEquals(Assert.java:655)\r\n\tat org.testng.Assert.assertEquals(Assert.java:665)\r\n\tat com.gits.internetherokuapp.TestCases.FormAuthenticationValidation.InvalidPasswordValidation.formAuthentication(InvalidPasswordValidation.java:60)\r\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\r\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\r\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\r\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:677)\r\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\r\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\r\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969)\r\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\r\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\r\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\r\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\r\n\tat org.testng.TestRunner.privateRun(TestRunner.java:829)\r\n\tat org.testng.TestRunner.run(TestRunner.java:602)\r\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:437)\r\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:431)\r\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:391)\r\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\r\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\r\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\r\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\r\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\r\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\r\n\tat org.testng.TestNG.run(TestNG.java:1067)\r\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\r\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:109)\r\n"},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1683309427205,"stop":1683309432465} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/b38d8161-27cb-433a-ac49-913c19c9da0f-container.json b/bishojit/internetherokuapp/allure-results/b38d8161-27cb-433a-ac49-913c19c9da0f-container.json new file mode 100644 index 0000000..7347e7c --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/b38d8161-27cb-433a-ac49-913c19c9da0f-container.json @@ -0,0 +1 @@ +{"uuid":"b38d8161-27cb-433a-ac49-913c19c9da0f","name":"com.gits.internetherokuapp.configuration.BaseTest.beforeMethod","children":["7c02cc5c-d5b0-4937-a358-d39994dc0746"],"description":"","befores":[{"name":"beforeMethod","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1683309460923,"stop":1683309467203}],"afters":[],"start":1683309460923,"stop":1683309467203} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/b6e93630-634c-495a-a345-034fcf6f9e78-container.json b/bishojit/internetherokuapp/allure-results/b6e93630-634c-495a-a345-034fcf6f9e78-container.json new file mode 100644 index 0000000..37e8fee --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/b6e93630-634c-495a-a345-034fcf6f9e78-container.json @@ -0,0 +1 @@ +{"uuid":"b6e93630-634c-495a-a345-034fcf6f9e78","name":"com.gits.internetherokuapp.configuration.BaseTest.afterMethod","children":["7c02cc5c-d5b0-4937-a358-d39994dc0746"],"description":"","befores":[],"afters":[{"name":"afterMethod","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1683309474656,"stop":1683309474656}],"start":1683309474656,"stop":1683309474656} \ No newline at end of file diff --git a/bishojit/internetherokuapp/allure-results/f5018f4d-0b70-478d-a32a-d53d67ee7c09-container.json b/bishojit/internetherokuapp/allure-results/f5018f4d-0b70-478d-a32a-d53d67ee7c09-container.json new file mode 100644 index 0000000..85ab07d --- /dev/null +++ b/bishojit/internetherokuapp/allure-results/f5018f4d-0b70-478d-a32a-d53d67ee7c09-container.json @@ -0,0 +1 @@ +{"uuid":"f5018f4d-0b70-478d-a32a-d53d67ee7c09","name":"Default Suite","children":["0dcfdb78-a96b-4892-bc27-577698221909"],"befores":[],"afters":[],"start":1683309414424,"stop":1683309432939} \ No newline at end of file diff --git a/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/.gitignore b/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/.gitignore index d3231ea..d6d2ccb 100644 --- a/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/.gitignore +++ b/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/.gitignore @@ -35,27 +35,3 @@ cmake-build-*/ .target/ # IntelliJ out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Cursive Clojure plugin -.idea/replstate.xml - -# SonarLint plugin -.idea/sonarlint/ - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - -# Editor-based Rest Client -.idea/httpRequests - -# Android studio 3.1+ serialized cache file -.idea/caches/build_file_checksums.ser \ No newline at end of file diff --git a/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/TestCases/FormAuthenticationValidation/InvalidPasswordValidation.java b/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/TestCases/FormAuthenticationValidation/InvalidPasswordValidation.java index 465573c..6f30f46 100644 --- a/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/TestCases/FormAuthenticationValidation/InvalidPasswordValidation.java +++ b/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/TestCases/FormAuthenticationValidation/InvalidPasswordValidation.java @@ -3,6 +3,8 @@ import com.gits.internetherokuapp.configuration.LandingPage; import com.gits.internetherokuapp.Utilities.Data; import com.gits.internetherokuapp.configuration.BaseTest; +import org.openqa.selenium.By; +import org.openqa.selenium.WebElement; import org.testng.Assert; import org.testng.annotations.Test; @@ -51,18 +53,19 @@ public void formAuthentication(){ fap.getLoginButton().click(); sleepTime(2000); + //login button valid massage + WebElement invalidMassage = driver.findElement(By.cssSelector("#flash")); + String actualLoginMassageText = invalidMassage.getText(); + String expectedLoginMassageText = "Your username is invalid!\n"+"×"; + Assert.assertEquals(actualLoginMassageText, expectedLoginMassageText); + + + //Alert Text Validation String text = fap.getAlert().getText(); System.out.println(text); sleepTime(2000); - //Driver Close - driver.close(); - sleepTime(2000); - - //Driver Quit - driver.quit(); - sleepTime(2000); } diff --git a/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/configuration/BaseTest.java b/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/configuration/BaseTest.java index fe1f9a4..0ebfc84 100644 --- a/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/configuration/BaseTest.java +++ b/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/configuration/BaseTest.java @@ -1,5 +1,4 @@ package com.gits.internetherokuapp.configuration; - import com.gits.internetherokuapp.Utilities.Data; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; diff --git a/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/configuration/LandingPage.java b/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/configuration/LandingPage.java index 67f4bda..6ec577d 100644 --- a/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/configuration/LandingPage.java +++ b/bishojit/internetherokuapp/src/test/java/com/gits/internetherokuapp/configuration/LandingPage.java @@ -8,7 +8,7 @@ public LandingPage(WebDriver driver){ super(driver); } - //AB Testing Button + //==============AB Testing Button============== @FindBy(css = "li:nth-of-type(1) > a") public WebElement ABTesting; public WebElement getABTesting(){ @@ -16,7 +16,7 @@ public WebElement getABTesting(){ } - //Add Remove Elements Button + //==============Add Remove Elements Button============== @FindBy(css = "li:nth-of-type(2) > a") public WebElement addRemoveElement; public WebElement getAddRemoveElement(){ @@ -24,7 +24,7 @@ public WebElement getAddRemoveElement(){ } - //Basic Auth Button + //===============Basic Auth Button=============== @FindBy(css = "ul > li:nth-of-type(3)") public WebElement basicAuth; public WebElement getBasicAuth(){ @@ -32,7 +32,7 @@ public WebElement getBasicAuth(){ } - //Broken Image Button + //===================Broken Image Button============ @FindBy(css = "li:nth-of-type(4) > a") public WebElement brokenImages; public WebElement getBrokenImages(){ @@ -40,7 +40,7 @@ public WebElement getBrokenImages(){ } - //CheckBoxes Button + //=============CheckBoxes Button============== @FindBy(css = "#content > ul > li:nth-child(6) > a") public WebElement checkBoxes; public WebElement getCheckBoxes(){ @@ -48,6 +48,7 @@ public WebElement getCheckBoxes(){ } + //==============ContextMenu Button============== @FindBy(css = "#content > ul > li:nth-child(7) > a") public WebElement contextMenu; public WebElement getContextMenu(){ @@ -55,7 +56,7 @@ public WebElement getContextMenu(){ } - //DisappearingElements Button + //=============DisappearingElements Button============ @FindBy(css = "li:nth-of-type(9) > a") public WebElement disappearingElements; public WebElement getDisappearingElements(){ @@ -63,7 +64,7 @@ public WebElement getDisappearingElements(){ } - //Drag & Drop Button + //====================Drag & Drop Button=================== @FindBy(css = "li:nth-of-type(10) > a") public WebElement dragAndDrop; public WebElement getDragAndDrop(){ @@ -71,7 +72,7 @@ public WebElement getDragAndDrop(){ } - //DropDown Button + //===================DropDown Button================== @FindBy(css = "li:nth-of-type(11) > a") public WebElement dropDown; public WebElement getDropDown(){ @@ -79,7 +80,7 @@ public WebElement getDropDown(){ } - //Dynamic Content Button + //==================Dynamic Content Button================ @FindBy(css = "#content > ul > li:nth-child(12) > a") public WebElement dynamicContent; @@ -88,7 +89,7 @@ public WebElement getDynamicContent(){ } - //Dynamic Controls Button + //=================Dynamic Controls Button==================== @FindBy(css = "#content > ul > li:nth-child(13) > a") public WebElement dynamicControls; @@ -98,7 +99,7 @@ public WebElement getDynamicControls(){ - //EntryAd Button + //====================EntryAd Button================= @FindBy(css = "ul > li:nth-of-type(15)") public WebElement entryAd; public WebElement getEntryAd(){ @@ -106,7 +107,7 @@ public WebElement getEntryAd(){ } - //ExitIntent Button + //===============ExitIntent Button=============== @FindBy(css = "ul > li:nth-of-type(16)") public WebElement exitIntent; public WebElement getExitIntent(){ @@ -114,7 +115,7 @@ public WebElement getExitIntent(){ } - //File Download Button + //===============File Download Button================= @FindBy(css = "#content > ul > li:nth-child(17) > a") public WebElement fileDownload; public WebElement getFileDownload(){ @@ -122,7 +123,7 @@ public WebElement getFileDownload(){ } - //File Upload Button + //====================File Upload Button================= @FindBy(css = "#content > ul > li:nth-child(18) > a") public WebElement fileUpload; public WebElement getFileUpload(){ @@ -130,7 +131,7 @@ public WebElement getFileUpload(){ } - //Floating Menu Button + //====================Floating Menu Button================== @FindBy(css = "ul > li:nth-of-type(19)") public WebElement floatingMenu; public WebElement getFloatingMenu(){ @@ -138,7 +139,7 @@ public WebElement getFloatingMenu(){ } - //Forgot Password Button + //========================Forgot Password Button================== @FindBy(css = "#content > ul > li:nth-child(20) > a") public WebElement forgetPassword; public WebElement getForgetPassword(){ @@ -146,7 +147,7 @@ public WebElement getForgetPassword(){ } - //Form Authentication Button + //=================Form Authentication Button=================== @FindBy(css = "li:nth-of-type(21) > a") public WebElement formAuthentication; public WebElement getFormAuthentication(){ @@ -154,7 +155,7 @@ public WebElement getFormAuthentication(){ } - //Frames Button + //=====================Frames Button========================= @FindBy(css = "#content > ul > li:nth-child(22) > a") public WebElement frames; public WebElement getFrames(){ @@ -162,7 +163,7 @@ public WebElement getFrames(){ } - //Geo Location Button + //========================Geo Location Button==================== @FindBy(css = "li:nth-of-type(23) > a") public WebElement geoLocation; public WebElement getGeoLocation(){ @@ -170,7 +171,7 @@ public WebElement getGeoLocation(){ } - //Horizontal Slider Button + //====================Horizontal Slider Button==================== @FindBy(css = "#content > ul > li:nth-child(24) > a") public WebElement horizontalSlider; public WebElement getHorizontalSlider(){ @@ -178,7 +179,7 @@ public WebElement getHorizontalSlider(){ } - //Hovers Button + //======================Hovers Button============================ @FindBy(css = "ul > li:nth-of-type(25)") public WebElement hovers; public WebElement getHovers(){ @@ -186,7 +187,7 @@ public WebElement getHovers(){ } - //Infinite Scroll Button + //===========================Infinite Scroll Button================== @FindBy(css = "li:nth-of-type(26) > a") public WebElement infiniteScroll; public WebElement getInfiniteScroll(){ @@ -194,7 +195,7 @@ public WebElement getInfiniteScroll(){ } - //Inputs Button + //=====================Inputs Button========================= @FindBy(css = "#content > ul > li:nth-child(27) > a") public WebElement inputs; public WebElement getInputs(){ diff --git a/bishojit/internetherokuapp/target/test-classes/com/gits/internetherokuapp/.gitignore b/bishojit/internetherokuapp/target/test-classes/com/gits/internetherokuapp/.gitignore new file mode 100644 index 0000000..d6d2ccb --- /dev/null +++ b/bishojit/internetherokuapp/target/test-classes/com/gits/internetherokuapp/.gitignore @@ -0,0 +1,37 @@ +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws +.target/ +# IntelliJ +out/ diff --git a/bishojit/internetherokuapp/testng.xml b/bishojit/internetherokuapp/testng.xml new file mode 100644 index 0000000..dd6c8cf --- /dev/null +++ b/bishojit/internetherokuapp/testng.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sheba/.settings/org.eclipse.jdt.apt.core.prefs b/sheba/.settings/org.eclipse.jdt.apt.core.prefs index d4313d4..dfa4f3a 100644 --- a/sheba/.settings/org.eclipse.jdt.apt.core.prefs +++ b/sheba/.settings/org.eclipse.jdt.apt.core.prefs @@ -1,2 +1,4 @@ eclipse.preferences.version=1 -org.eclipse.jdt.apt.aptEnabled=false +org.eclipse.jdt.apt.aptEnabled=true +org.eclipse.jdt.apt.genSrcDir=target/generated-sources/annotations +org.eclipse.jdt.apt.genTestSrcDir=target/generated-test-sources/test-annotations diff --git a/sheba/.settings/org.eclipse.jdt.core.prefs b/sheba/.settings/org.eclipse.jdt.core.prefs index b11489f..20b3c67 100644 --- a/sheba/.settings/org.eclipse.jdt.core.prefs +++ b/sheba/.settings/org.eclipse.jdt.core.prefs @@ -4,6 +4,6 @@ org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore -org.eclipse.jdt.core.compiler.processAnnotations=disabled +org.eclipse.jdt.core.compiler.processAnnotations=enabled org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.7 diff --git a/subroto/getwell/.idea/misc.xml b/subroto/getwell/.idea/misc.xml index 172627f..ca94c2d 100644 --- a/subroto/getwell/.idea/misc.xml +++ b/subroto/getwell/.idea/misc.xml @@ -8,5 +8,5 @@ - + \ No newline at end of file diff --git a/zaman/Java/testJava/target/classes/META-INF/MANIFEST.MF b/zaman/Java/testJava/target/classes/META-INF/MANIFEST.MF new file mode 100644 index 0000000..73a503c --- /dev/null +++ b/zaman/Java/testJava/target/classes/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Main-Class: com.abzaman.testJava.BasicCalculatorWithFunction + From 0a6e1a68377ec03156012ba7a3f8b56d849d2c30 Mon Sep 17 00:00:00 2001 From: bishojit12 Date: Sat, 6 May 2023 02:10:03 +0600 Subject: [PATCH 09/10] updated code --- .../test-classes/com/gits/Herokuapp/.gitignore | 17 ----------------- .../com/gits/Herokuapp/.idea/.gitignore | 3 +++ .../com/gits/Herokuapp/.idea/misc.xml | 6 ++++++ .../com/gits/Herokuapp/.idea/modules.xml | 8 ++++++++ .../com/gits/Herokuapp/.idea/vcs.xml | 6 ++++++ 5 files changed, 23 insertions(+), 17 deletions(-) delete mode 100644 bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.gitignore create mode 100644 bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/.gitignore create mode 100644 bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/misc.xml create mode 100644 bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/modules.xml create mode 100644 bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/vcs.xml diff --git a/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.gitignore b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.gitignore deleted file mode 100644 index 43e6cc0..0000000 --- a/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ - - -# User-specific stuff -.idea/* - -cmake-build-*/ -target/* -*.iws - -out/ - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - diff --git a/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/.gitignore b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/misc.xml b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/modules.xml b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/modules.xml new file mode 100644 index 0000000..3c8ccd1 --- /dev/null +++ b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/vcs.xml b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/vcs.xml new file mode 100644 index 0000000..07117e4 --- /dev/null +++ b/bishojit/GlobalIT/target/test-classes/com/gits/Herokuapp/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file From 5cef4b6ef1e4d09ffcd212cc20dc6022bec6daf3 Mon Sep 17 00:00:00 2001 From: bishojit12 Date: Mon, 22 May 2023 17:27:46 +0600 Subject: [PATCH 10/10] new api work updated --- bishojit/reqress/.gitingnore | 45 +++++++ bishojit/reqress/.idea/.gitignore | 3 + bishojit/reqress/.idea/compiler.xml | 13 ++ bishojit/reqress/.idea/encodings.xml | 7 + bishojit/reqress/.idea/jarRepositories.xml | 20 +++ bishojit/reqress/.idea/misc.xml | 12 ++ bishojit/reqress/.idea/uiDesigner.xml | 124 ++++++++++++++++++ bishojit/reqress/.idea/vcs.xml | 6 + ...70-f36c-4920-80a6-80e9f769259b-result.json | 1 + ...0e84-4f95-8be4-f67b3de90996-container.json | 1 + ...6c35-4192-9c36-2e9e17955539-container.json | 1 + ...b511-4aaa-b5aa-0701ac222589-container.json | 1 + ...834e-48b3-b53e-927af1b44ab2-container.json | 1 + ...2f-7688-4eff-baa3-9b428f3e6b82-result.json | 1 + ...4047-4b98-ac66-54435aeef60d-container.json | 1 + ...c8-371e-44d2-94f6-c01d1c8924dc-result.json | 1 + ...b583-4f3b-8fee-c5b0c183a6f8-container.json | 1 + ...9f9e-4bea-b17a-2fba0b69a38f-container.json | 1 + ...df51-42a5-8063-8f42bb9f12a7-container.json | 1 + ...1c70-43ba-8e9b-3b8b6ba33a21-container.json | 1 + ...21b6-4db8-9f12-284d49cc3fa9-container.json | 1 + ...8170-4cb1-bff6-6154d09af40f-container.json | 1 + ...a0e8-43b9-8dfa-71d4ef328d14-container.json | 1 + ...5d0b-4e4e-85b1-035fd6b3e88f-container.json | 1 + ...da-611e-4b76-a758-047161bfd042-result.json | 1 + ...ecce-4793-aac9-96a396165525-container.json | 1 + ...a348-48e1-8029-5fe8c40e0257-container.json | 1 + ...7848-43bc-a41e-53ce36f0f43d-container.json | 1 + ...9176-4771-ac4e-2aee004b037b-container.json | 1 + ...cf-5260-47b1-8112-f1fdc27e8d89-result.json | 1 + ...1b8b-43e7-add1-7926b70de50c-container.json | 1 + ...f403-4b9b-b7af-3ee36e568ef9-container.json | 1 + ...84b5-422a-9386-15e0caafce66-container.json | 1 + ...2066-4212-b294-3d1e29b76d18-container.json | 1 + ...2243-4b55-bdc6-c0a9821535f9-container.json | 1 + ...22-9a94-40b4-8ca7-21040e509009-result.json | 1 + ...09b4-4ca1-9a7b-e6b938c785dc-container.json | 1 + ...86c6-4ac3-acc0-3555485af2e7-container.json | 1 + ...5d-a1c3-4c78-b911-22e285b1dc69-result.json | 1 + ...ce-3e9a-4039-bd88-df661ac1d818-result.json | 1 + bishojit/reqress/pom.xml | 112 ++++++++++++++++ .../src/main/java/com/gits/reqress/App.java | 13 ++ .../gits/reqress/getmethod/ListResource.java | 27 ++++ .../com/gits/reqress/getmethod/ListUsers.java | 29 ++++ .../reqress/getmethod/SingleResource.java | 26 ++++ .../getmethod/SingleResourceNotFound.java | 21 +++ .../gits/reqress/getmethod/SingleUser.java | 22 ++++ .../reqress/getmethod/SingleUserNotFound.java | 22 ++++ .../compile/default-compile/createdFiles.lst | 1 + .../compile/default-compile/inputFiles.lst | 1 + .../default-testCompile/createdFiles.lst | 1 + .../default-testCompile/inputFiles.lst | 1 + .../TEST-com.gits.reqress.AppTest.xml | 62 +++++++++ .../com.gits.reqress.AppTest.txt | 4 + 54 files changed, 604 insertions(+) create mode 100644 bishojit/reqress/.gitingnore create mode 100644 bishojit/reqress/.idea/.gitignore create mode 100644 bishojit/reqress/.idea/compiler.xml create mode 100644 bishojit/reqress/.idea/encodings.xml create mode 100644 bishojit/reqress/.idea/jarRepositories.xml create mode 100644 bishojit/reqress/.idea/misc.xml create mode 100644 bishojit/reqress/.idea/uiDesigner.xml create mode 100644 bishojit/reqress/.idea/vcs.xml create mode 100644 bishojit/reqress/allure-results/00f7dc70-f36c-4920-80a6-80e9f769259b-result.json create mode 100644 bishojit/reqress/allure-results/060a4c63-0e84-4f95-8be4-f67b3de90996-container.json create mode 100644 bishojit/reqress/allure-results/075d74ba-6c35-4192-9c36-2e9e17955539-container.json create mode 100644 bishojit/reqress/allure-results/081900b9-b511-4aaa-b5aa-0701ac222589-container.json create mode 100644 bishojit/reqress/allure-results/207dec9f-834e-48b3-b53e-927af1b44ab2-container.json create mode 100644 bishojit/reqress/allure-results/277d9c2f-7688-4eff-baa3-9b428f3e6b82-result.json create mode 100644 bishojit/reqress/allure-results/285737e6-4047-4b98-ac66-54435aeef60d-container.json create mode 100644 bishojit/reqress/allure-results/2ce166c8-371e-44d2-94f6-c01d1c8924dc-result.json create mode 100644 bishojit/reqress/allure-results/3344fffe-b583-4f3b-8fee-c5b0c183a6f8-container.json create mode 100644 bishojit/reqress/allure-results/38e03ee1-9f9e-4bea-b17a-2fba0b69a38f-container.json create mode 100644 bishojit/reqress/allure-results/38e8d0e6-df51-42a5-8063-8f42bb9f12a7-container.json create mode 100644 bishojit/reqress/allure-results/3d6372f4-1c70-43ba-8e9b-3b8b6ba33a21-container.json create mode 100644 bishojit/reqress/allure-results/3f1b328f-21b6-4db8-9f12-284d49cc3fa9-container.json create mode 100644 bishojit/reqress/allure-results/6cc96dc2-8170-4cb1-bff6-6154d09af40f-container.json create mode 100644 bishojit/reqress/allure-results/6eafeb21-a0e8-43b9-8dfa-71d4ef328d14-container.json create mode 100644 bishojit/reqress/allure-results/775341d9-5d0b-4e4e-85b1-035fd6b3e88f-container.json create mode 100644 bishojit/reqress/allure-results/94de7ada-611e-4b76-a758-047161bfd042-result.json create mode 100644 bishojit/reqress/allure-results/9f1b9aeb-ecce-4793-aac9-96a396165525-container.json create mode 100644 bishojit/reqress/allure-results/a7fba662-a348-48e1-8029-5fe8c40e0257-container.json create mode 100644 bishojit/reqress/allure-results/ab3b4830-7848-43bc-a41e-53ce36f0f43d-container.json create mode 100644 bishojit/reqress/allure-results/ad84d52e-9176-4771-ac4e-2aee004b037b-container.json create mode 100644 bishojit/reqress/allure-results/b359c0cf-5260-47b1-8112-f1fdc27e8d89-result.json create mode 100644 bishojit/reqress/allure-results/c894d183-1b8b-43e7-add1-7926b70de50c-container.json create mode 100644 bishojit/reqress/allure-results/c9c33f43-f403-4b9b-b7af-3ee36e568ef9-container.json create mode 100644 bishojit/reqress/allure-results/cae99729-84b5-422a-9386-15e0caafce66-container.json create mode 100644 bishojit/reqress/allure-results/cc673822-2066-4212-b294-3d1e29b76d18-container.json create mode 100644 bishojit/reqress/allure-results/cf7bee73-2243-4b55-bdc6-c0a9821535f9-container.json create mode 100644 bishojit/reqress/allure-results/d4129e22-9a94-40b4-8ca7-21040e509009-result.json create mode 100644 bishojit/reqress/allure-results/dfbf53b4-09b4-4ca1-9a7b-e6b938c785dc-container.json create mode 100644 bishojit/reqress/allure-results/e199b2cd-86c6-4ac3-acc0-3555485af2e7-container.json create mode 100644 bishojit/reqress/allure-results/fafa065d-a1c3-4c78-b911-22e285b1dc69-result.json create mode 100644 bishojit/reqress/allure-results/fba81fce-3e9a-4039-bd88-df661ac1d818-result.json create mode 100644 bishojit/reqress/pom.xml create mode 100644 bishojit/reqress/src/main/java/com/gits/reqress/App.java create mode 100644 bishojit/reqress/src/test/java/com/gits/reqress/getmethod/ListResource.java create mode 100644 bishojit/reqress/src/test/java/com/gits/reqress/getmethod/ListUsers.java create mode 100644 bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleResource.java create mode 100644 bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleResourceNotFound.java create mode 100644 bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleUser.java create mode 100644 bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleUserNotFound.java create mode 100644 bishojit/reqress/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst create mode 100644 bishojit/reqress/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst create mode 100644 bishojit/reqress/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst create mode 100644 bishojit/reqress/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst create mode 100644 bishojit/reqress/target/surefire-reports/TEST-com.gits.reqress.AppTest.xml create mode 100644 bishojit/reqress/target/surefire-reports/com.gits.reqress.AppTest.txt diff --git a/bishojit/reqress/.gitingnore b/bishojit/reqress/.gitingnore new file mode 100644 index 0000000..4a5e25d --- /dev/null +++ b/bishojit/reqress/.gitingnore @@ -0,0 +1,45 @@ +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# File-based project format +*.iws + +# IntelliJ +out/ + +.target/* +.allure-results/* \ No newline at end of file diff --git a/bishojit/reqress/.idea/.gitignore b/bishojit/reqress/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/bishojit/reqress/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/bishojit/reqress/.idea/compiler.xml b/bishojit/reqress/.idea/compiler.xml new file mode 100644 index 0000000..f36171b --- /dev/null +++ b/bishojit/reqress/.idea/compiler.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/reqress/.idea/encodings.xml b/bishojit/reqress/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/bishojit/reqress/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/bishojit/reqress/.idea/jarRepositories.xml b/bishojit/reqress/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/bishojit/reqress/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/reqress/.idea/misc.xml b/bishojit/reqress/.idea/misc.xml new file mode 100644 index 0000000..56c7380 --- /dev/null +++ b/bishojit/reqress/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/bishojit/reqress/.idea/uiDesigner.xml b/bishojit/reqress/.idea/uiDesigner.xml new file mode 100644 index 0000000..2b63946 --- /dev/null +++ b/bishojit/reqress/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/reqress/.idea/vcs.xml b/bishojit/reqress/.idea/vcs.xml new file mode 100644 index 0000000..b2bdec2 --- /dev/null +++ b/bishojit/reqress/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/bishojit/reqress/allure-results/00f7dc70-f36c-4920-80a6-80e9f769259b-result.json b/bishojit/reqress/allure-results/00f7dc70-f36c-4920-80a6-80e9f769259b-result.json new file mode 100644 index 0000000..f272c4a --- /dev/null +++ b/bishojit/reqress/allure-results/00f7dc70-f36c-4920-80a6-80e9f769259b-result.json @@ -0,0 +1 @@ +{"uuid":"00f7dc70-f36c-4920-80a6-80e9f769259b","historyId":"40b6476e5ed78991204665f6a35bdf13","fullName":"com.gits.reqress.getmethod.ListUsers.listUsers","labels":[{"name":"package","value":"com.gits.reqress.getmethod.ListUsers"},{"name":"testClass","value":"com.gits.reqress.getmethod.ListUsers"},{"name":"testMethod","value":"listUsers"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"reqress"},{"name":"subSuite","value":"com.gits.reqress.getmethod.ListUsers"},{"name":"host","value":"ACER"},{"name":"thread","value":"14536@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"listUsers","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1684754050559,"stop":1684754053362} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/060a4c63-0e84-4f95-8be4-f67b3de90996-container.json b/bishojit/reqress/allure-results/060a4c63-0e84-4f95-8be4-f67b3de90996-container.json new file mode 100644 index 0000000..e489a4a --- /dev/null +++ b/bishojit/reqress/allure-results/060a4c63-0e84-4f95-8be4-f67b3de90996-container.json @@ -0,0 +1 @@ +{"uuid":"060a4c63-0e84-4f95-8be4-f67b3de90996","name":"reqress","children":["b359c0cf-5260-47b1-8112-f1fdc27e8d89"],"befores":[],"afters":[],"start":1684754021133,"stop":1684754023776} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/075d74ba-6c35-4192-9c36-2e9e17955539-container.json b/bishojit/reqress/allure-results/075d74ba-6c35-4192-9c36-2e9e17955539-container.json new file mode 100644 index 0000000..f4bfb37 --- /dev/null +++ b/bishojit/reqress/allure-results/075d74ba-6c35-4192-9c36-2e9e17955539-container.json @@ -0,0 +1 @@ +{"uuid":"075d74ba-6c35-4192-9c36-2e9e17955539","name":"com.gits.reqress.getmethod.SingleResource","children":["d4129e22-9a94-40b4-8ca7-21040e509009"],"befores":[],"afters":[],"start":1684753991001,"stop":1684753993916} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/081900b9-b511-4aaa-b5aa-0701ac222589-container.json b/bishojit/reqress/allure-results/081900b9-b511-4aaa-b5aa-0701ac222589-container.json new file mode 100644 index 0000000..13386dc --- /dev/null +++ b/bishojit/reqress/allure-results/081900b9-b511-4aaa-b5aa-0701ac222589-container.json @@ -0,0 +1 @@ +{"uuid":"081900b9-b511-4aaa-b5aa-0701ac222589","name":"Default Suite","children":["285737e6-4047-4b98-ac66-54435aeef60d"],"befores":[],"afters":[],"start":1684754033848,"stop":1684754036173} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/207dec9f-834e-48b3-b53e-927af1b44ab2-container.json b/bishojit/reqress/allure-results/207dec9f-834e-48b3-b53e-927af1b44ab2-container.json new file mode 100644 index 0000000..1e03010 --- /dev/null +++ b/bishojit/reqress/allure-results/207dec9f-834e-48b3-b53e-927af1b44ab2-container.json @@ -0,0 +1 @@ +{"uuid":"207dec9f-834e-48b3-b53e-927af1b44ab2","name":"com.gits.reqress.getmethod.ListUsers","children":["00f7dc70-f36c-4920-80a6-80e9f769259b"],"befores":[],"afters":[],"start":1684754050425,"stop":1684754053415} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/277d9c2f-7688-4eff-baa3-9b428f3e6b82-result.json b/bishojit/reqress/allure-results/277d9c2f-7688-4eff-baa3-9b428f3e6b82-result.json new file mode 100644 index 0000000..3039173 --- /dev/null +++ b/bishojit/reqress/allure-results/277d9c2f-7688-4eff-baa3-9b428f3e6b82-result.json @@ -0,0 +1 @@ +{"uuid":"277d9c2f-7688-4eff-baa3-9b428f3e6b82","historyId":"a8c5da2d7fe07ddcecdf7f7ccfc2bce5","fullName":"com.gits.reqress.getmethod.SingleResourceNotFound.singleResourceNotFound","labels":[{"name":"package","value":"com.gits.reqress.getmethod.SingleResourceNotFound"},{"name":"testClass","value":"com.gits.reqress.getmethod.SingleResourceNotFound"},{"name":"testMethod","value":"singleResourceNotFound"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"reqress"},{"name":"subSuite","value":"com.gits.reqress.getmethod.SingleResourceNotFound"},{"name":"host","value":"ACER"},{"name":"thread","value":"7972@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"singleResourceNotFound","status":"failed","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"1 expectation failed.\nExpected response time was not a value less than <2000L> milliseconds, was 2563 milliseconds (2563 milliseconds).","trace":"java.lang.AssertionError: 1 expectation failed.\nExpected response time was not a value less than <2000L> milliseconds, was 2563 milliseconds (2563 milliseconds).\r\n\tat java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67)\r\n\tat java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)\r\n\tat java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:484)\r\n\tat org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)\r\n\tat org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)\r\n\tat io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)\r\n\tat io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)\r\n\tat io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)\r\n\tat io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)\r\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\r\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\r\n\tat org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)\r\n\tat org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)\r\n\tat org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)\r\n\tat io.restassured.internal.ResponseSpecificationImpl.time(ResponseSpecificationImpl.groovy:127)\r\n\tat io.restassured.internal.ValidatableResponseOptionsImpl.time(ValidatableResponseOptionsImpl.java:409)\r\n\tat io.restassured.internal.ValidatableResponseOptionsImpl.time(ValidatableResponseOptionsImpl.java:405)\r\n\tat com.gits.reqress.getmethod.SingleResourceNotFound.singleResourceNotFound(SingleResourceNotFound.java:18)\r\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\r\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\r\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\r\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:677)\r\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\r\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\r\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969)\r\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\r\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\r\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\r\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\r\n\tat org.testng.TestRunner.privateRun(TestRunner.java:829)\r\n\tat org.testng.TestRunner.run(TestRunner.java:602)\r\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:437)\r\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:431)\r\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:391)\r\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\r\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\r\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\r\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\r\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\r\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\r\n\tat org.testng.TestNG.run(TestNG.java:1067)\r\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\r\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:109)\r\n"},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1684753883865,"stop":1684753887468} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/285737e6-4047-4b98-ac66-54435aeef60d-container.json b/bishojit/reqress/allure-results/285737e6-4047-4b98-ac66-54435aeef60d-container.json new file mode 100644 index 0000000..0f4c87a --- /dev/null +++ b/bishojit/reqress/allure-results/285737e6-4047-4b98-ac66-54435aeef60d-container.json @@ -0,0 +1 @@ +{"uuid":"285737e6-4047-4b98-ac66-54435aeef60d","name":"reqress","children":["fafa065d-a1c3-4c78-b911-22e285b1dc69"],"befores":[],"afters":[],"start":1684754033859,"stop":1684754036162} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/2ce166c8-371e-44d2-94f6-c01d1c8924dc-result.json b/bishojit/reqress/allure-results/2ce166c8-371e-44d2-94f6-c01d1c8924dc-result.json new file mode 100644 index 0000000..8557f49 --- /dev/null +++ b/bishojit/reqress/allure-results/2ce166c8-371e-44d2-94f6-c01d1c8924dc-result.json @@ -0,0 +1 @@ +{"uuid":"2ce166c8-371e-44d2-94f6-c01d1c8924dc","historyId":"20db9dce5f0da563a40c577f6dd92def","fullName":"com.gits.reqress.getmethod.ListResource.listResource","labels":[{"name":"package","value":"com.gits.reqress.getmethod.ListResource"},{"name":"testClass","value":"com.gits.reqress.getmethod.ListResource"},{"name":"testMethod","value":"listResource"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"reqress"},{"name":"subSuite","value":"com.gits.reqress.getmethod.ListResource"},{"name":"host","value":"ACER"},{"name":"thread","value":"7148@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"listResource","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1684754005022,"stop":1684754007917} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/3344fffe-b583-4f3b-8fee-c5b0c183a6f8-container.json b/bishojit/reqress/allure-results/3344fffe-b583-4f3b-8fee-c5b0c183a6f8-container.json new file mode 100644 index 0000000..2c57662 --- /dev/null +++ b/bishojit/reqress/allure-results/3344fffe-b583-4f3b-8fee-c5b0c183a6f8-container.json @@ -0,0 +1 @@ +{"uuid":"3344fffe-b583-4f3b-8fee-c5b0c183a6f8","name":"Default Suite","children":["3f1b328f-21b6-4db8-9f12-284d49cc3fa9"],"befores":[],"afters":[],"start":1684754004913,"stop":1684754007968} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/38e03ee1-9f9e-4bea-b17a-2fba0b69a38f-container.json b/bishojit/reqress/allure-results/38e03ee1-9f9e-4bea-b17a-2fba0b69a38f-container.json new file mode 100644 index 0000000..bd796b5 --- /dev/null +++ b/bishojit/reqress/allure-results/38e03ee1-9f9e-4bea-b17a-2fba0b69a38f-container.json @@ -0,0 +1 @@ +{"uuid":"38e03ee1-9f9e-4bea-b17a-2fba0b69a38f","name":"com.gits.reqress.getmethod.ListResource","children":["2ce166c8-371e-44d2-94f6-c01d1c8924dc"],"befores":[],"afters":[],"start":1684754004921,"stop":1684754007965} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/38e8d0e6-df51-42a5-8063-8f42bb9f12a7-container.json b/bishojit/reqress/allure-results/38e8d0e6-df51-42a5-8063-8f42bb9f12a7-container.json new file mode 100644 index 0000000..aa01765 --- /dev/null +++ b/bishojit/reqress/allure-results/38e8d0e6-df51-42a5-8063-8f42bb9f12a7-container.json @@ -0,0 +1 @@ +{"uuid":"38e8d0e6-df51-42a5-8063-8f42bb9f12a7","name":"Default Suite","children":["060a4c63-0e84-4f95-8be4-f67b3de90996"],"befores":[],"afters":[],"start":1684754021126,"stop":1684754023790} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/3d6372f4-1c70-43ba-8e9b-3b8b6ba33a21-container.json b/bishojit/reqress/allure-results/3d6372f4-1c70-43ba-8e9b-3b8b6ba33a21-container.json new file mode 100644 index 0000000..0bee22a --- /dev/null +++ b/bishojit/reqress/allure-results/3d6372f4-1c70-43ba-8e9b-3b8b6ba33a21-container.json @@ -0,0 +1 @@ +{"uuid":"3d6372f4-1c70-43ba-8e9b-3b8b6ba33a21","name":"reqress","children":["d4129e22-9a94-40b4-8ca7-21040e509009"],"befores":[],"afters":[],"start":1684753990999,"stop":1684753993909} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/3f1b328f-21b6-4db8-9f12-284d49cc3fa9-container.json b/bishojit/reqress/allure-results/3f1b328f-21b6-4db8-9f12-284d49cc3fa9-container.json new file mode 100644 index 0000000..8aa051a --- /dev/null +++ b/bishojit/reqress/allure-results/3f1b328f-21b6-4db8-9f12-284d49cc3fa9-container.json @@ -0,0 +1 @@ +{"uuid":"3f1b328f-21b6-4db8-9f12-284d49cc3fa9","name":"reqress","children":["2ce166c8-371e-44d2-94f6-c01d1c8924dc"],"befores":[],"afters":[],"start":1684754004920,"stop":1684754007958} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/6cc96dc2-8170-4cb1-bff6-6154d09af40f-container.json b/bishojit/reqress/allure-results/6cc96dc2-8170-4cb1-bff6-6154d09af40f-container.json new file mode 100644 index 0000000..8482ec7 --- /dev/null +++ b/bishojit/reqress/allure-results/6cc96dc2-8170-4cb1-bff6-6154d09af40f-container.json @@ -0,0 +1 @@ +{"uuid":"6cc96dc2-8170-4cb1-bff6-6154d09af40f","name":"com.gits.reqress.getmethod.SingleResourceNotFound","children":["277d9c2f-7688-4eff-baa3-9b428f3e6b82"],"befores":[],"afters":[],"start":1684753883773,"stop":1684753887543} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/6eafeb21-a0e8-43b9-8dfa-71d4ef328d14-container.json b/bishojit/reqress/allure-results/6eafeb21-a0e8-43b9-8dfa-71d4ef328d14-container.json new file mode 100644 index 0000000..493f3da --- /dev/null +++ b/bishojit/reqress/allure-results/6eafeb21-a0e8-43b9-8dfa-71d4ef328d14-container.json @@ -0,0 +1 @@ +{"uuid":"6eafeb21-a0e8-43b9-8dfa-71d4ef328d14","name":"com.gits.reqress.getmethod.SingleUser","children":["fafa065d-a1c3-4c78-b911-22e285b1dc69"],"befores":[],"afters":[],"start":1684754033860,"stop":1684754036171} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/775341d9-5d0b-4e4e-85b1-035fd6b3e88f-container.json b/bishojit/reqress/allure-results/775341d9-5d0b-4e4e-85b1-035fd6b3e88f-container.json new file mode 100644 index 0000000..570f526 --- /dev/null +++ b/bishojit/reqress/allure-results/775341d9-5d0b-4e4e-85b1-035fd6b3e88f-container.json @@ -0,0 +1 @@ +{"uuid":"775341d9-5d0b-4e4e-85b1-035fd6b3e88f","name":"reqress","children":["277d9c2f-7688-4eff-baa3-9b428f3e6b82"],"befores":[],"afters":[],"start":1684753883771,"stop":1684753887533} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/94de7ada-611e-4b76-a758-047161bfd042-result.json b/bishojit/reqress/allure-results/94de7ada-611e-4b76-a758-047161bfd042-result.json new file mode 100644 index 0000000..3ecf4b4 --- /dev/null +++ b/bishojit/reqress/allure-results/94de7ada-611e-4b76-a758-047161bfd042-result.json @@ -0,0 +1 @@ +{"uuid":"94de7ada-611e-4b76-a758-047161bfd042","historyId":"a8c5da2d7fe07ddcecdf7f7ccfc2bce5","fullName":"com.gits.reqress.getmethod.SingleResourceNotFound.singleResourceNotFound","labels":[{"name":"package","value":"com.gits.reqress.getmethod.SingleResourceNotFound"},{"name":"testClass","value":"com.gits.reqress.getmethod.SingleResourceNotFound"},{"name":"testMethod","value":"singleResourceNotFound"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"reqress"},{"name":"subSuite","value":"com.gits.reqress.getmethod.SingleResourceNotFound"},{"name":"host","value":"ACER"},{"name":"thread","value":"11180@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"singleResourceNotFound","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1684753945922,"stop":1684753948247} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/9f1b9aeb-ecce-4793-aac9-96a396165525-container.json b/bishojit/reqress/allure-results/9f1b9aeb-ecce-4793-aac9-96a396165525-container.json new file mode 100644 index 0000000..f7e5db0 --- /dev/null +++ b/bishojit/reqress/allure-results/9f1b9aeb-ecce-4793-aac9-96a396165525-container.json @@ -0,0 +1 @@ +{"uuid":"9f1b9aeb-ecce-4793-aac9-96a396165525","name":"Default Suite","children":["775341d9-5d0b-4e4e-85b1-035fd6b3e88f"],"befores":[],"afters":[],"start":1684753883765,"stop":1684753887546} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/a7fba662-a348-48e1-8029-5fe8c40e0257-container.json b/bishojit/reqress/allure-results/a7fba662-a348-48e1-8029-5fe8c40e0257-container.json new file mode 100644 index 0000000..6244dbf --- /dev/null +++ b/bishojit/reqress/allure-results/a7fba662-a348-48e1-8029-5fe8c40e0257-container.json @@ -0,0 +1 @@ +{"uuid":"a7fba662-a348-48e1-8029-5fe8c40e0257","name":"com.gits.reqress.getmethod.SingleResourceNotFound","children":["94de7ada-611e-4b76-a758-047161bfd042"],"befores":[],"afters":[],"start":1684753945822,"stop":1684753948309} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/ab3b4830-7848-43bc-a41e-53ce36f0f43d-container.json b/bishojit/reqress/allure-results/ab3b4830-7848-43bc-a41e-53ce36f0f43d-container.json new file mode 100644 index 0000000..ffb482d --- /dev/null +++ b/bishojit/reqress/allure-results/ab3b4830-7848-43bc-a41e-53ce36f0f43d-container.json @@ -0,0 +1 @@ +{"uuid":"ab3b4830-7848-43bc-a41e-53ce36f0f43d","name":"com.gits.reqress.getmethod.ListUsers","children":["fba81fce-3e9a-4039-bd88-df661ac1d818"],"befores":[],"afters":[],"start":1684736650955,"stop":1684736654712} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/ad84d52e-9176-4771-ac4e-2aee004b037b-container.json b/bishojit/reqress/allure-results/ad84d52e-9176-4771-ac4e-2aee004b037b-container.json new file mode 100644 index 0000000..8f7bf44 --- /dev/null +++ b/bishojit/reqress/allure-results/ad84d52e-9176-4771-ac4e-2aee004b037b-container.json @@ -0,0 +1 @@ +{"uuid":"ad84d52e-9176-4771-ac4e-2aee004b037b","name":"com.gits.reqress.getmethod.SingleUserNotFound","children":["b359c0cf-5260-47b1-8112-f1fdc27e8d89"],"befores":[],"afters":[],"start":1684754021134,"stop":1684754023786} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/b359c0cf-5260-47b1-8112-f1fdc27e8d89-result.json b/bishojit/reqress/allure-results/b359c0cf-5260-47b1-8112-f1fdc27e8d89-result.json new file mode 100644 index 0000000..6a209cc --- /dev/null +++ b/bishojit/reqress/allure-results/b359c0cf-5260-47b1-8112-f1fdc27e8d89-result.json @@ -0,0 +1 @@ +{"uuid":"b359c0cf-5260-47b1-8112-f1fdc27e8d89","historyId":"60deaa94349cfccf2c19023d2f98a804","fullName":"com.gits.reqress.getmethod.SingleUserNotFound.singleUserNotFound","labels":[{"name":"package","value":"com.gits.reqress.getmethod.SingleUserNotFound"},{"name":"testClass","value":"com.gits.reqress.getmethod.SingleUserNotFound"},{"name":"testMethod","value":"singleUserNotFound"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"reqress"},{"name":"subSuite","value":"com.gits.reqress.getmethod.SingleUserNotFound"},{"name":"host","value":"ACER"},{"name":"thread","value":"10620@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"singleUserNotFound","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1684754021221,"stop":1684754023708} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/c894d183-1b8b-43e7-add1-7926b70de50c-container.json b/bishojit/reqress/allure-results/c894d183-1b8b-43e7-add1-7926b70de50c-container.json new file mode 100644 index 0000000..e445387 --- /dev/null +++ b/bishojit/reqress/allure-results/c894d183-1b8b-43e7-add1-7926b70de50c-container.json @@ -0,0 +1 @@ +{"uuid":"c894d183-1b8b-43e7-add1-7926b70de50c","name":"Default Suite","children":["3d6372f4-1c70-43ba-8e9b-3b8b6ba33a21"],"befores":[],"afters":[],"start":1684753990993,"stop":1684753993920} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/c9c33f43-f403-4b9b-b7af-3ee36e568ef9-container.json b/bishojit/reqress/allure-results/c9c33f43-f403-4b9b-b7af-3ee36e568ef9-container.json new file mode 100644 index 0000000..6497572 --- /dev/null +++ b/bishojit/reqress/allure-results/c9c33f43-f403-4b9b-b7af-3ee36e568ef9-container.json @@ -0,0 +1 @@ +{"uuid":"c9c33f43-f403-4b9b-b7af-3ee36e568ef9","name":"Default Suite","children":["cf7bee73-2243-4b55-bdc6-c0a9821535f9"],"befores":[],"afters":[],"start":1684754050416,"stop":1684754053417} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/cae99729-84b5-422a-9386-15e0caafce66-container.json b/bishojit/reqress/allure-results/cae99729-84b5-422a-9386-15e0caafce66-container.json new file mode 100644 index 0000000..575d412 --- /dev/null +++ b/bishojit/reqress/allure-results/cae99729-84b5-422a-9386-15e0caafce66-container.json @@ -0,0 +1 @@ +{"uuid":"cae99729-84b5-422a-9386-15e0caafce66","name":"Default Suite","children":["e199b2cd-86c6-4ac3-acc0-3555485af2e7"],"befores":[],"afters":[],"start":1684753945813,"stop":1684753948312} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/cc673822-2066-4212-b294-3d1e29b76d18-container.json b/bishojit/reqress/allure-results/cc673822-2066-4212-b294-3d1e29b76d18-container.json new file mode 100644 index 0000000..9e7dfd0 --- /dev/null +++ b/bishojit/reqress/allure-results/cc673822-2066-4212-b294-3d1e29b76d18-container.json @@ -0,0 +1 @@ +{"uuid":"cc673822-2066-4212-b294-3d1e29b76d18","name":"Default Suite","children":["dfbf53b4-09b4-4ca1-9a7b-e6b938c785dc"],"befores":[],"afters":[],"start":1684736650948,"stop":1684736654715} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/cf7bee73-2243-4b55-bdc6-c0a9821535f9-container.json b/bishojit/reqress/allure-results/cf7bee73-2243-4b55-bdc6-c0a9821535f9-container.json new file mode 100644 index 0000000..d97aaf6 --- /dev/null +++ b/bishojit/reqress/allure-results/cf7bee73-2243-4b55-bdc6-c0a9821535f9-container.json @@ -0,0 +1 @@ +{"uuid":"cf7bee73-2243-4b55-bdc6-c0a9821535f9","name":"reqress","children":["00f7dc70-f36c-4920-80a6-80e9f769259b"],"befores":[],"afters":[],"start":1684754050423,"stop":1684754053408} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/d4129e22-9a94-40b4-8ca7-21040e509009-result.json b/bishojit/reqress/allure-results/d4129e22-9a94-40b4-8ca7-21040e509009-result.json new file mode 100644 index 0000000..382dace --- /dev/null +++ b/bishojit/reqress/allure-results/d4129e22-9a94-40b4-8ca7-21040e509009-result.json @@ -0,0 +1 @@ +{"uuid":"d4129e22-9a94-40b4-8ca7-21040e509009","historyId":"61f3a833d6eccda7438538aa344135b0","fullName":"com.gits.reqress.getmethod.SingleResource.singleResource","labels":[{"name":"package","value":"com.gits.reqress.getmethod.SingleResource"},{"name":"testClass","value":"com.gits.reqress.getmethod.SingleResource"},{"name":"testMethod","value":"singleResource"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"reqress"},{"name":"subSuite","value":"com.gits.reqress.getmethod.SingleResource"},{"name":"host","value":"ACER"},{"name":"thread","value":"5372@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"singleResource","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1684753991080,"stop":1684753993813} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/dfbf53b4-09b4-4ca1-9a7b-e6b938c785dc-container.json b/bishojit/reqress/allure-results/dfbf53b4-09b4-4ca1-9a7b-e6b938c785dc-container.json new file mode 100644 index 0000000..b4b8c13 --- /dev/null +++ b/bishojit/reqress/allure-results/dfbf53b4-09b4-4ca1-9a7b-e6b938c785dc-container.json @@ -0,0 +1 @@ +{"uuid":"dfbf53b4-09b4-4ca1-9a7b-e6b938c785dc","name":"reqress","children":["fba81fce-3e9a-4039-bd88-df661ac1d818"],"befores":[],"afters":[],"start":1684736650954,"stop":1684736654705} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/e199b2cd-86c6-4ac3-acc0-3555485af2e7-container.json b/bishojit/reqress/allure-results/e199b2cd-86c6-4ac3-acc0-3555485af2e7-container.json new file mode 100644 index 0000000..3210908 --- /dev/null +++ b/bishojit/reqress/allure-results/e199b2cd-86c6-4ac3-acc0-3555485af2e7-container.json @@ -0,0 +1 @@ +{"uuid":"e199b2cd-86c6-4ac3-acc0-3555485af2e7","name":"reqress","children":["94de7ada-611e-4b76-a758-047161bfd042"],"befores":[],"afters":[],"start":1684753945821,"stop":1684753948302} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/fafa065d-a1c3-4c78-b911-22e285b1dc69-result.json b/bishojit/reqress/allure-results/fafa065d-a1c3-4c78-b911-22e285b1dc69-result.json new file mode 100644 index 0000000..be230ad --- /dev/null +++ b/bishojit/reqress/allure-results/fafa065d-a1c3-4c78-b911-22e285b1dc69-result.json @@ -0,0 +1 @@ +{"uuid":"fafa065d-a1c3-4c78-b911-22e285b1dc69","historyId":"a1659ebe6d40e12431951911f2f5f2e2","fullName":"com.gits.reqress.getmethod.SingleUser.singleUsers","labels":[{"name":"package","value":"com.gits.reqress.getmethod.SingleUser"},{"name":"testClass","value":"com.gits.reqress.getmethod.SingleUser"},{"name":"testMethod","value":"singleUsers"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"reqress"},{"name":"subSuite","value":"com.gits.reqress.getmethod.SingleUser"},{"name":"host","value":"ACER"},{"name":"thread","value":"2152@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"singleUsers","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1684754033971,"stop":1684754036117} \ No newline at end of file diff --git a/bishojit/reqress/allure-results/fba81fce-3e9a-4039-bd88-df661ac1d818-result.json b/bishojit/reqress/allure-results/fba81fce-3e9a-4039-bd88-df661ac1d818-result.json new file mode 100644 index 0000000..8f49e60 --- /dev/null +++ b/bishojit/reqress/allure-results/fba81fce-3e9a-4039-bd88-df661ac1d818-result.json @@ -0,0 +1 @@ +{"uuid":"fba81fce-3e9a-4039-bd88-df661ac1d818","historyId":"bb718845ef4448c5658fc9c5866d34fb","fullName":"com.gits.reqress.getmethod.ListUsers.userList","labels":[{"name":"package","value":"com.gits.reqress.getmethod.ListUsers"},{"name":"testClass","value":"com.gits.reqress.getmethod.ListUsers"},{"name":"testMethod","value":"userList"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"reqress"},{"name":"subSuite","value":"com.gits.reqress.getmethod.ListUsers"},{"name":"host","value":"ACER"},{"name":"thread","value":"10448@ACER.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"userList","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1684736651037,"stop":1684736654648} \ No newline at end of file diff --git a/bishojit/reqress/pom.xml b/bishojit/reqress/pom.xml new file mode 100644 index 0000000..a1143ad --- /dev/null +++ b/bishojit/reqress/pom.xml @@ -0,0 +1,112 @@ + + + + 4.0.0 + + com.gits.reqress + reqress + 1.0-SNAPSHOT + + reqress + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + 1.8.10 + + + + + junit + junit + 4.13.2 + test + + + org.testng + testng + 7.7.1 + test + + + + org.seleniumhq.selenium + selenium-java + 4.8.3 + + + io.rest-assured + rest-assured + 5.3.0 + test + + + io.rest-assured + json-path + 5.3.0 + test + + + io.rest-assured + json-schema-validator + 5.3.0 + test + + + io.qameta.allure + allure-testng + 2.21.0 + test + + + com.google.code.gson + gson + 2.10.1 + + + org.hamcrest + hamcrest-all + 1.3 + + + com.googlecode.json-simple + json-simple + 1.1.1 + + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.6.0 + + true + 1.7 + 1.7 + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.19.1 + + + + testNG_Suite.xml + + + + + + + diff --git a/bishojit/reqress/src/main/java/com/gits/reqress/App.java b/bishojit/reqress/src/main/java/com/gits/reqress/App.java new file mode 100644 index 0000000..bf4c5c7 --- /dev/null +++ b/bishojit/reqress/src/main/java/com/gits/reqress/App.java @@ -0,0 +1,13 @@ +package com.gits.reqress; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/ListResource.java b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/ListResource.java new file mode 100644 index 0000000..8c82adb --- /dev/null +++ b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/ListResource.java @@ -0,0 +1,27 @@ +package com.gits.reqress.getmethod; +import io.restassured.response.Response; +import org.testng.annotations.Test; +import static io.restassured.RestAssured.given; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.lessThan; + + +public class ListResource { + @Test + public void listResource(){ + + Response listResource = given(). + + when() + .get("https://reqres.in/api/unknown"); + + listResource.then() + .assertThat() + .time(lessThan(2000L)) + .statusCode(200).log().all() + .body("page",equalTo(1), + "per_page",equalTo( 6), + "total",equalTo(12), + "total_pages",equalTo(2)); + } +} diff --git a/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/ListUsers.java b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/ListUsers.java new file mode 100644 index 0000000..e4760e3 --- /dev/null +++ b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/ListUsers.java @@ -0,0 +1,29 @@ +package com.gits.reqress.getmethod; +import io.restassured.response.Response; +import org.testng.annotations.Test; +import static io.restassured.RestAssured.*; +import static org.hamcrest.Matchers.*; + + +public class ListUsers { + @Test + public void listUsers(){ + + Response listUsers = given(). + + when(). + get("https://reqres.in/api/users?page=2"); + + listUsers.then() + .assertThat() + .time(lessThan(2000L)) + .statusCode(200).log().all() + .body( "page",equalTo(2), + "per_page",equalTo(6), + "total",equalTo(12), + "total_pages",equalTo(2)); + + + } +} + diff --git a/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleResource.java b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleResource.java new file mode 100644 index 0000000..594e722 --- /dev/null +++ b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleResource.java @@ -0,0 +1,26 @@ +package com.gits.reqress.getmethod; +import io.restassured.response.Response; +import org.testng.annotations.Test; +import static io.restassured.RestAssured.given; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.lessThan; + +public class SingleResource { + @Test + public void singleResource(){ + + Response singleResource = given(). + + when(). + get("https://reqres.in/api/users?page=2"); + + singleResource.then() + .assertThat() + .time(lessThan(3000L)) + .statusCode(200).log().all() + .body("page",equalTo(2)) + .body("per_page",equalTo( 6)) + .body("total",equalTo( 12)) + .body("total_pages",equalTo(2)); + } +} diff --git a/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleResourceNotFound.java b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleResourceNotFound.java new file mode 100644 index 0000000..7c636df --- /dev/null +++ b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleResourceNotFound.java @@ -0,0 +1,21 @@ +package com.gits.reqress.getmethod; +import io.restassured.response.Response; +import org.testng.annotations.Test; +import static io.restassured.RestAssured.given; +import static org.hamcrest.Matchers.lessThan; + +public class SingleResourceNotFound { + @Test + public void singleResourceNotFound(){ + + Response singleResourceNotFound = given(). + + when(). + get("https://reqres.in/api/unknown/23"); + + singleResourceNotFound.then() + .assertThat() + .time(lessThan(3000L)) + .statusCode(404).log().all(); + } +} diff --git a/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleUser.java b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleUser.java new file mode 100644 index 0000000..a1260e7 --- /dev/null +++ b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleUser.java @@ -0,0 +1,22 @@ +package com.gits.reqress.getmethod; +import org.testng.annotations.Test; +import io.restassured.response.Response; +import static io.restassured.RestAssured.*; +import static org.hamcrest.Matchers.*; + +public class SingleUser { + @Test + public void singleUsers(){ + + Response singleUsers = given(). + + when(). + get("https://reqres.in/api/users/2"); + + singleUsers.then() + .assertThat() + .time(lessThan(2000L)) + .statusCode(200).log().all(); + + } +} diff --git a/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleUserNotFound.java b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleUserNotFound.java new file mode 100644 index 0000000..d753034 --- /dev/null +++ b/bishojit/reqress/src/test/java/com/gits/reqress/getmethod/SingleUserNotFound.java @@ -0,0 +1,22 @@ +package com.gits.reqress.getmethod; +import io.restassured.response.Response; +import org.testng.annotations.Test; +import static io.restassured.RestAssured.given; +import static org.hamcrest.Matchers.lessThan; + +public class SingleUserNotFound { + + @Test + public void singleUserNotFound(){ + + Response singleUserNotFound = given(). + + when(). + get("https://reqres.in/api/users/23"); + + singleUserNotFound.then() + .assertThat() + .time(lessThan(3000L)) + .statusCode(404).log().all(); + } +} diff --git a/bishojit/reqress/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/bishojit/reqress/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..6732e1e --- /dev/null +++ b/bishojit/reqress/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1 @@ +com\gits\reqress\App.class diff --git a/bishojit/reqress/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/bishojit/reqress/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..3967e4e --- /dev/null +++ b/bishojit/reqress/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1 @@ +F:\Github\students2023\bishojit\reqress\src\main\java\com\gits\reqress\App.java diff --git a/bishojit/reqress/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/bishojit/reqress/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..b530e3c --- /dev/null +++ b/bishojit/reqress/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst @@ -0,0 +1 @@ +com\gits\reqress\AppTest.class diff --git a/bishojit/reqress/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/bishojit/reqress/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..191db0b --- /dev/null +++ b/bishojit/reqress/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -0,0 +1 @@ +F:\Github\students2023\bishojit\reqress\src\test\java\com\gits\reqress\AppTest.java diff --git a/bishojit/reqress/target/surefire-reports/TEST-com.gits.reqress.AppTest.xml b/bishojit/reqress/target/surefire-reports/TEST-com.gits.reqress.AppTest.xml new file mode 100644 index 0000000..8c72dec --- /dev/null +++ b/bishojit/reqress/target/surefire-reports/TEST-com.gits.reqress.AppTest.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bishojit/reqress/target/surefire-reports/com.gits.reqress.AppTest.txt b/bishojit/reqress/target/surefire-reports/com.gits.reqress.AppTest.txt new file mode 100644 index 0000000..88c2518 --- /dev/null +++ b/bishojit/reqress/target/surefire-reports/com.gits.reqress.AppTest.txt @@ -0,0 +1,4 @@ +------------------------------------------------------------------------------- +Test set: com.gits.reqress.AppTest +------------------------------------------------------------------------------- +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s - in com.gits.reqress.AppTest