Generated by TestNG with ReportNG at 09:45 PDT on Thursday 27 May 2021
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.555s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.643s
2021-05-27 10:00:34 |

2021-05-27 10:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-27 10:00:34 | ------------------------------------

2021-05-27 10:00:34 | [Mutex] isItemNotified: node_q1zmib0203:exists :: false

2021-05-27 10:00:34 | [Mutex] waiting for: [node_q1zmib0203:create_node]

2021-05-27 10:00:34 | [Mutex] received everything.

2021-05-27 10:00:34 | [Mutex] isItemNotified: node_q1zmib0203:create_node:success :: true

2021-05-27 10:00:34 | [Mutex] waiting for: [node_q1zmib0203:subscribe_node]

2021-05-27 10:00:34 | [Mutex] waiting for: [node_q1zmib0203:subscribe_node]

2021-05-27 10:00:34 | [Mutex] received everything.

2021-05-27 10:00:34 | [Mutex] isItemNotified: node_q1zmib0203:subscribe_node:success :: true

2021-05-27 10:00:34 |


===== publishing normal message (to online)


2021-05-27 10:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 10:00:34 | command: <data><node>node_q1zmib0203</node><entry><content>content_57lacl0204</content></entry></data>

2021-05-27 10:00:34 | target: http://localhost:8088

2021-05-27 10:00:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-27 10:00:34 | entity: <data><node>node_q1zmib0203</node><entry><content>content_57lacl0204</content></entry></data>

2021-05-27 10:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 10:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e23276a2-91d4-4871-ac79-c947eda688f4</value></item-id></result>

2021-05-27 10:00:34 | contains: true

2021-05-27 10:00:34 | [Mutex] received everything.

2021-05-27 10:00:34 | [Mutex] isItemNotified: user_regular4hyprz0202@test-domain.com:message:received:content_57lacl0204 :: true

2021-05-27 10:00:34 |


===== publishing already old message - expecting message being filtered out (to online)


2021-05-27 10:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 10:00:34 | command: <data><node>node_q1zmib0203</node><expire-at>2021-05-27T17:00:29Z</expire-at><entry><content>content_sntkrk0205</content></entry></data>

2021-05-27 10:00:34 | target: http://localhost:8088

2021-05-27 10:00:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-27 10:00:34 | entity: <data><node>node_q1zmib0203</node><expire-at>2021-05-27T17:00:29Z</expire-at><entry><content>content_sntkrk0205</content></entry></data>

2021-05-27 10:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 10:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9423ff83-12a4-48d1-944e-dd6533e5e4bd</value></item-id></result>

2021-05-27 10:00:34 | contains: true

2021-05-27 10:00:34 | [Mutex] waiting for: [user_regular4hyprz0202@test-domain.com:message:received:content_sntkrk0205]

2021-05-27 10:00:49 | [Mutex] timeout. Not received [user_regular4hyprz0202@test-domain.com:message:received:content_sntkrk0205]

2021-05-27 10:00:49 | [Mutex] isItemNotified: user_regular4hyprz0202@test-domain.com:message:received:content_sntkrk0205 :: false

2021-05-27 10:00:49 |


===== publishing normal message (to offline)


2021-05-27 10:00:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 10:00:49 | command: <data><node>node_q1zmib0203</node><entry><content>content_75c7bq0206</content></entry></data>

2021-05-27 10:00:49 | target: http://localhost:8088

2021-05-27 10:00:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-27 10:00:49 | entity: <data><node>node_q1zmib0203</node><entry><content>content_75c7bq0206</content></entry></data>

2021-05-27 10:00:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:00:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 10:00:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4e5f63d4-fdcb-47e5-9c0c-362b83a7ef3e</value></item-id></result>

2021-05-27 10:00:49 | contains: true

2021-05-27 10:00:54 | [Mutex] waiting for: [user_regular4hyprz0202@test-domain.com:message:received:content_75c7bq0206]

2021-05-27 10:00:54 | [Mutex] waiting for: [user_regular4hyprz0202@test-domain.com:message:received:content_75c7bq0206]

2021-05-27 10:00:54 | [Mutex] received everything.

2021-05-27 10:00:54 | [Mutex] isItemNotified: user_regular4hyprz0202@test-domain.com:message:received:content_75c7bq0206 :: true

2021-05-27 10:00:54 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-05-27 10:00:54 | [Mutex] received everything.

2021-05-27 10:00:54 | [Mutex] isItemNotified: node_q1zmib0203:subscribe_node:success :: true

2021-05-27 10:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 10:00:54 | command: <data><node>node_q1zmib0203</node><expire-at>2021-05-27T17:00:59Z</expire-at><entry><content>content_4z5mch0207</content></entry></data>

2021-05-27 10:00:54 | target: http://localhost:8088

2021-05-27 10:00:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-27 10:00:54 | entity: <data><node>node_q1zmib0203</node><expire-at>2021-05-27T17:00:59Z</expire-at><entry><content>content_4z5mch0207</content></entry></data>

2021-05-27 10:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 10:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>68a4e55c-bac9-4e5f-a68a-5aa10d9055d6</value></item-id></result>

2021-05-27 10:00:54 | contains: true

2021-05-27 10:01:02 | [Mutex] waiting for: [user_regular4hyprz0202@test-domain.com:message:received:content_4z5mch0207]

2021-05-27 10:01:17 | [Mutex] timeout. Not received [user_regular4hyprz0202@test-domain.com:message:received:content_4z5mch0207]

2021-05-27 10:01:17 | [Mutex] received everything.

2021-05-27 10:01:17 | [Mutex] isItemNotified: user_regular4hyprz0202@test-domain.com:message:received:content_4z5mch0207 :: false

2021-05-27 10:01:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4z5mch0207 :: true