Generated by TestNG with ReportNG at 09:56 PDT on Friday 23 April 2021
root@b2c2a8eba6e6 / 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.135s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.663s
2021-04-23 10:12:28 |

2021-04-23 10:12:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-23 10:12:28 | ------------------------------------

2021-04-23 10:12:28 | [Mutex] isItemNotified: node_eo3ttl0203:exists :: false

2021-04-23 10:12:28 | [Mutex] waiting for: [node_eo3ttl0203:create_node]

2021-04-23 10:12:28 | [Mutex] received everything.

2021-04-23 10:12:28 | [Mutex] isItemNotified: node_eo3ttl0203:create_node:success :: true

2021-04-23 10:12:28 | [Mutex] waiting for: [node_eo3ttl0203:subscribe_node]

2021-04-23 10:12:28 | [Mutex] waiting for: [node_eo3ttl0203:subscribe_node]

2021-04-23 10:12:28 | [Mutex] received everything.

2021-04-23 10:12:28 | [Mutex] isItemNotified: node_eo3ttl0203:subscribe_node:success :: true

2021-04-23 10:12:28 |


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


2021-04-23 10:12:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-23 10:12:28 | command: <data><node>node_eo3ttl0203</node><entry><content>content_tj1xy30204</content></entry></data>

2021-04-23 10:12:28 | target: http://localhost:8088

2021-04-23 10:12:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-23 10:12:28 | entity: <data><node>node_eo3ttl0203</node><entry><content>content_tj1xy30204</content></entry></data>

2021-04-23 10:12:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:12:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-23 10:12:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a681a43e-096e-4008-a016-05e6775b02b0</value></item-id></result>

2021-04-23 10:12:28 | contains: true

2021-04-23 10:12:28 | [Mutex] received everything.

2021-04-23 10:12:28 | [Mutex] isItemNotified: user_regular1o9ni00202@test-domain.com:message:received:content_tj1xy30204 :: true

2021-04-23 10:12:28 |


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


2021-04-23 10:12:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-23 10:12:28 | command: <data><node>node_eo3ttl0203</node><expire-at>2021-04-23T17:12:23Z</expire-at><entry><content>content_ct5rne0205</content></entry></data>

2021-04-23 10:12:28 | target: http://localhost:8088

2021-04-23 10:12:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-23 10:12:28 | entity: <data><node>node_eo3ttl0203</node><expire-at>2021-04-23T17:12:23Z</expire-at><entry><content>content_ct5rne0205</content></entry></data>

2021-04-23 10:12:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:12:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-23 10:12:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>230bfcaf-c702-482e-b6bd-8b3414187aa6</value></item-id></result>

2021-04-23 10:12:28 | contains: true

2021-04-23 10:12:28 | [Mutex] waiting for: [user_regular1o9ni00202@test-domain.com:message:received:content_ct5rne0205]

2021-04-23 10:12:43 | [Mutex] timeout. Not received [user_regular1o9ni00202@test-domain.com:message:received:content_ct5rne0205]

2021-04-23 10:12:43 | [Mutex] isItemNotified: user_regular1o9ni00202@test-domain.com:message:received:content_ct5rne0205 :: false

2021-04-23 10:12:43 |


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


2021-04-23 10:12:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-23 10:12:43 | command: <data><node>node_eo3ttl0203</node><entry><content>content_19qnde0206</content></entry></data>

2021-04-23 10:12:43 | target: http://localhost:8088

2021-04-23 10:12:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-23 10:12:43 | entity: <data><node>node_eo3ttl0203</node><entry><content>content_19qnde0206</content></entry></data>

2021-04-23 10:12:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:12:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-23 10:12:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e6a2ca2e-224d-46b3-be18-6daf6b4f06fa</value></item-id></result>

2021-04-23 10:12:43 | contains: true

2021-04-23 10:12:48 | [Mutex] waiting for: [user_regular1o9ni00202@test-domain.com:message:received:content_19qnde0206]

2021-04-23 10:12:48 | [Mutex] received everything.

2021-04-23 10:12:48 | [Mutex] isItemNotified: user_regular1o9ni00202@test-domain.com:message:received:content_19qnde0206 :: true

2021-04-23 10:12:48 |


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


2021-04-23 10:12:48 | [Mutex] received everything.

2021-04-23 10:12:48 | [Mutex] isItemNotified: node_eo3ttl0203:subscribe_node:success :: true

2021-04-23 10:12:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-23 10:12:48 | command: <data><node>node_eo3ttl0203</node><expire-at>2021-04-23T17:12:53Z</expire-at><entry><content>content_bnx1zp0207</content></entry></data>

2021-04-23 10:12:48 | target: http://localhost:8088

2021-04-23 10:12:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-23 10:12:48 | entity: <data><node>node_eo3ttl0203</node><expire-at>2021-04-23T17:12:53Z</expire-at><entry><content>content_bnx1zp0207</content></entry></data>

2021-04-23 10:12:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:12:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-23 10:12:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>11992d0c-285f-4110-abf6-b565e5c93808</value></item-id></result>

2021-04-23 10:12:48 | contains: true

2021-04-23 10:12:56 | [Mutex] waiting for: [user_regular1o9ni00202@test-domain.com:message:received:content_bnx1zp0207]

2021-04-23 10:13:11 | [Mutex] timeout. Not received [user_regular1o9ni00202@test-domain.com:message:received:content_bnx1zp0207]

2021-04-23 10:13:11 | [Mutex] received everything.

2021-04-23 10:13:11 | [Mutex] isItemNotified: user_regular1o9ni00202@test-domain.com:message:received:content_bnx1zp0207 :: false

2021-04-23 10:13:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bnx1zp0207 :: true