diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2112eb8..0e22d1d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,35 +5,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/__pycache__/app.cpython-313.pyc b/__pycache__/app.cpython-313.pyc deleted file mode 100644 index e8c8520..0000000 Binary files a/__pycache__/app.cpython-313.pyc and /dev/null differ diff --git a/jmeter.log b/jmeter.log new file mode 100644 index 0000000..025291f --- /dev/null +++ b/jmeter.log @@ -0,0 +1,40 @@ +2025-03-22 17:42:33,437 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN +2025-03-22 17:42:33,465 INFO o.a.j.JMeter: Loading user properties from: C:\apache-jmeter-5.6.3\apache-jmeter-5.6.3\bin\user.properties +2025-03-22 17:42:33,465 INFO o.a.j.JMeter: Loading system properties from: C:\apache-jmeter-5.6.3\apache-jmeter-5.6.3\bin\system.properties +2025-03-22 17:42:33,471 INFO o.a.j.JMeter: Copyright (c) 1998-2024 The Apache Software Foundation +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: Version 5.6.3 +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: java.version=1.8.0_441 +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: java.vm.name=Java HotSpot(TM) Client VM +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: os.name=Windows 11 +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: os.arch=x86 +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: os.version=10.0 +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: file.encoding=Cp1252 +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: java.awt.headless=null +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: Max memory =1073741824 +2025-03-22 17:42:33,479 INFO o.a.j.JMeter: Available Processors =12 +2025-03-22 17:42:33,482 INFO o.a.j.JMeter: Default Locale=English (EN) +2025-03-22 17:42:33,482 INFO o.a.j.JMeter: JMeter Locale=English (EN) +2025-03-22 17:42:33,482 INFO o.a.j.JMeter: JMeterHome=C:\apache-jmeter-5.6.3\apache-jmeter-5.6.3 +2025-03-22 17:42:33,482 INFO o.a.j.JMeter: user.dir =C:\Users\amuibi\PycharmProjects\FirstBankSimbrellaApi +2025-03-22 17:42:33,482 INFO o.a.j.JMeter: PWD =C:\Users\amuibi\PycharmProjects\FirstBankSimbrellaApi +2025-03-22 17:42:33,496 INFO o.a.j.JMeter: IP: 192.168.0.186 Name: SARL1188LP FullName: host.docker.internal +2025-03-22 17:42:33,529 INFO o.a.j.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties +2025-03-22 17:42:33,823 INFO o.a.j.JMeterGuiLauncher: Setting LAF to: com.github.weisj.darklaf.DarkLaf:com.github.weisj.darklaf.theme.DarculaTheme +2025-03-22 17:42:37,214 INFO o.a.j.JMeterGuiLauncher: Loading file: jmeter\simbrella_api_test_plan.jmx +2025-03-22 17:42:37,219 INFO o.a.j.s.FileServer: Default base='C:\Users\amuibi\PycharmProjects\FirstBankSimbrellaApi' +2025-03-22 17:42:37,223 INFO o.a.j.s.FileServer: Set new base='C:\Users\amuibi\PycharmProjects\FirstBankSimbrellaApi\jmeter' +2025-03-22 17:42:37,646 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 +2025-03-22 17:42:37,687 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8 +2025-03-22 17:42:37,696 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0 +2025-03-22 17:42:37,708 INFO o.a.j.s.SaveService: Loading file: jmeter\simbrella_api_test_plan.jmx +2025-03-22 17:42:37,823 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser +2025-03-22 17:42:37,824 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser +2025-03-22 17:42:37,824 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser +2025-03-22 17:42:37,824 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser +2025-03-22 17:42:37,824 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser +2025-03-22 17:42:37,824 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser +2025-03-22 17:42:37,970 INFO o.a.j.s.FileServer: Set new base='C:\Users\amuibi\PycharmProjects\FirstBankSimbrellaApi\jmeter' +2025-03-22 17:42:38,517 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times +2025-03-22 17:42:38,517 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to UTF-8 +2025-03-22 17:42:38,518 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true +2025-03-22 17:42:38,518 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000 diff --git a/jmeter/simbrella_api_test_plan.jmx b/jmeter/simbrella_api_test_plan.jmx index 788d19e..da95ddf 100644 --- a/jmeter/simbrella_api_test_plan.jmx +++ b/jmeter/simbrella_api_test_plan.jmx @@ -1,43 +1,32 @@ - + - - - false + true - false - + - - - continue - - false - 10 - - 50 - 5 - false - - + + 50 + 5 true + continue + + 10 + false + - - + + 127.0.0.1 + 8080 + http + - localhost - 5000 - http - - - 6 - - + @@ -53,61 +42,44 @@ - - + + /v1/api/salary/health + true + GET + true + false + - - - - - /v1/api/salary/health - GET - true - false - true - false - - - - + + /v1/api/salary/EligibilityCheck + true + POST + true true false - { - "$type": "EligibilityCheckRequest", - "transactionId": "Tr202503RK9232P115", - "countryCode": "NGR", - "customerId": "CN621868", - "accountId": "ACN8263457", - "msisdn": "2348012345678", - "lienAmount": 4.0, - "channel": "USSD" + { + "$type": "EligibilityCheckRequest", + "transactionId": "Tr202503RK9232P115", + "countryCode": "NGR", + "customerId": "CN621868", + "accountId": "ACN8263457", + "msisdn": "2348012345678", + "lienAmount": 4.0, + "channel": "USSD" } = - - - - - /v1/api/salary/EligibilityCheck - POST - true - false - true - false - - - - + false saveConfig @@ -144,7 +116,7 @@ - + false saveConfig @@ -184,4 +156,4 @@ - \ No newline at end of file +