Generated by TestNG with ReportNG at 01:53 PDT on Friday 18 September 2020
root@62b09120cfea / 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.115s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.732s
2020-09-18 02:08:16 |

2020-09-18 02:08:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-18 02:08:16 | ------------------------------------

2020-09-18 02:08:16 | [Mutex] isItemNotified: node_p29mgx0203:exists :: false

2020-09-18 02:08:16 | [Mutex] waiting for: [node_p29mgx0203:create_node]

2020-09-18 02:08:16 | [Mutex] received everything.

2020-09-18 02:08:16 | [Mutex] isItemNotified: node_p29mgx0203:create_node:success :: true

2020-09-18 02:08:16 | [Mutex] waiting for: [node_p29mgx0203:subscribe_node]

2020-09-18 02:08:16 | [Mutex] waiting for: [node_p29mgx0203:subscribe_node]

2020-09-18 02:08:16 | [Mutex] received everything.

2020-09-18 02:08:16 | [Mutex] isItemNotified: node_p29mgx0203:subscribe_node:success :: true

2020-09-18 02:08:16 |


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


2020-09-18 02:08:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 02:08:16 | command: <data><node>node_p29mgx0203</node><entry><content>content_h1w5k40204</content></entry></data>

2020-09-18 02:08:16 | target: http://localhost:8088

2020-09-18 02:08:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 02:08:16 | entity: <data><node>node_p29mgx0203</node><entry><content>content_h1w5k40204</content></entry></data>

2020-09-18 02:08:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 09:08:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 02:08:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bf309291-031d-4544-8a1d-9feae2bf6876</value></item-id></result>

2020-09-18 02:08:16 | contains: true

2020-09-18 02:08:16 | [Mutex] waiting for: [user_regularv567nf0202@test-domain.com:message:received:content_h1w5k40204]

2020-09-18 02:08:16 | [Mutex] received everything.

2020-09-18 02:08:16 | [Mutex] isItemNotified: user_regularv567nf0202@test-domain.com:message:received:content_h1w5k40204 :: true

2020-09-18 02:08:16 |


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


2020-09-18 02:08:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 02:08:16 | command: <data><node>node_p29mgx0203</node><expire-at>2020-09-18T09:08:11Z</expire-at><entry><content>content_o58di40205</content></entry></data>

2020-09-18 02:08:16 | target: http://localhost:8088

2020-09-18 02:08:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 02:08:16 | entity: <data><node>node_p29mgx0203</node><expire-at>2020-09-18T09:08:11Z</expire-at><entry><content>content_o58di40205</content></entry></data>

2020-09-18 02:08:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 09:08:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 02:08:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61df8667-7ebc-4088-b0e7-6d6c4ed96ff6</value></item-id></result>

2020-09-18 02:08:16 | contains: true

2020-09-18 02:08:16 | [Mutex] waiting for: [user_regularv567nf0202@test-domain.com:message:received:content_o58di40205]

2020-09-18 02:08:31 | [Mutex] timeout. Not received [user_regularv567nf0202@test-domain.com:message:received:content_o58di40205]

2020-09-18 02:08:31 | [Mutex] isItemNotified: user_regularv567nf0202@test-domain.com:message:received:content_o58di40205 :: false

2020-09-18 02:08:31 |


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


2020-09-18 02:08:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 02:08:31 | command: <data><node>node_p29mgx0203</node><entry><content>content_pc5rze0206</content></entry></data>

2020-09-18 02:08:31 | target: http://localhost:8088

2020-09-18 02:08:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 02:08:31 | entity: <data><node>node_p29mgx0203</node><entry><content>content_pc5rze0206</content></entry></data>

2020-09-18 02:08:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 09:08:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 02:08:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1a4a8122-28d3-4785-8c39-5c66079b49ca</value></item-id></result>

2020-09-18 02:08:31 | contains: true

2020-09-18 02:08:36 | [Mutex] waiting for: [user_regularv567nf0202@test-domain.com:message:received:content_pc5rze0206]

2020-09-18 02:08:36 | [Mutex] waiting for: [user_regularv567nf0202@test-domain.com:message:received:content_pc5rze0206]

2020-09-18 02:08:36 | [Mutex] received everything.

2020-09-18 02:08:36 | [Mutex] isItemNotified: user_regularv567nf0202@test-domain.com:message:received:content_pc5rze0206 :: true

2020-09-18 02:08:36 |


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


2020-09-18 02:08:36 | [Mutex] received everything.

2020-09-18 02:08:36 | [Mutex] isItemNotified: node_p29mgx0203:subscribe_node:success :: true

2020-09-18 02:08:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 02:08:36 | command: <data><node>node_p29mgx0203</node><expire-at>2020-09-18T09:08:41Z</expire-at><entry><content>content_m9asc80207</content></entry></data>

2020-09-18 02:08:36 | target: http://localhost:8088

2020-09-18 02:08:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 02:08:36 | entity: <data><node>node_p29mgx0203</node><expire-at>2020-09-18T09:08:41Z</expire-at><entry><content>content_m9asc80207</content></entry></data>

2020-09-18 02:08:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 09:08:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 02:08:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f02d80db-dfa0-49f7-8821-86a63a8017de</value></item-id></result>

2020-09-18 02:08:36 | contains: true

2020-09-18 02:08:45 | [Mutex] waiting for: [user_regularv567nf0202@test-domain.com:message:received:content_m9asc80207]

2020-09-18 02:09:00 | [Mutex] timeout. Not received [user_regularv567nf0202@test-domain.com:message:received:content_m9asc80207]

2020-09-18 02:09:00 | [Mutex] received everything.

2020-09-18 02:09:00 | [Mutex] isItemNotified: user_regularv567nf0202@test-domain.com:message:received:content_m9asc80207 :: false

2020-09-18 02:09:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m9asc80207 :: true