Generated by TestNG with ReportNG at 22:13 PDT on Wednesday 31 March 2021
root@87f6aca6b6f2 / 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.848s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.781s
2021-03-31 22:28:39 |

2021-03-31 22:28:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-31 22:28:39 | ------------------------------------

2021-03-31 22:28:39 | [Mutex] isItemNotified: node_24qxt20203:exists :: false

2021-03-31 22:28:39 | [Mutex] waiting for: [node_24qxt20203:create_node]

2021-03-31 22:28:39 | [Mutex] received everything.

2021-03-31 22:28:39 | [Mutex] isItemNotified: node_24qxt20203:create_node:success :: true

2021-03-31 22:28:39 | [Mutex] waiting for: [node_24qxt20203:subscribe_node]

2021-03-31 22:28:39 | [Mutex] received everything.

2021-03-31 22:28:39 | [Mutex] isItemNotified: node_24qxt20203:subscribe_node:success :: true

2021-03-31 22:28:39 |


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


2021-03-31 22:28:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 22:28:39 | command: <data><node>node_24qxt20203</node><entry><content>content_7mj5eq0204</content></entry></data>

2021-03-31 22:28:39 | target: http://localhost:8088

2021-03-31 22:28:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-31 22:28:39 | entity: <data><node>node_24qxt20203</node><entry><content>content_7mj5eq0204</content></entry></data>

2021-03-31 22:28:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:28:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 22:28:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc363b81-e986-464e-a614-f3faf27dce57</value></item-id></result>

2021-03-31 22:28:39 | contains: true

2021-03-31 22:28:39 | [Mutex] received everything.

2021-03-31 22:28:39 | [Mutex] isItemNotified: user_regulardl8x7i0202@test-domain.com:message:received:content_7mj5eq0204 :: true

2021-03-31 22:28:39 |


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


2021-03-31 22:28:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 22:28:39 | command: <data><node>node_24qxt20203</node><expire-at>2021-04-01T05:28:34Z</expire-at><entry><content>content_9693vv0205</content></entry></data>

2021-03-31 22:28:39 | target: http://localhost:8088

2021-03-31 22:28:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-31 22:28:39 | entity: <data><node>node_24qxt20203</node><expire-at>2021-04-01T05:28:34Z</expire-at><entry><content>content_9693vv0205</content></entry></data>

2021-03-31 22:28:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:28:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 22:28:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5b7cfe46-42b3-4a20-8c70-e94a48a4f6e4</value></item-id></result>

2021-03-31 22:28:39 | contains: true

2021-03-31 22:28:39 | [Mutex] waiting for: [user_regulardl8x7i0202@test-domain.com:message:received:content_9693vv0205]

2021-03-31 22:28:54 | [Mutex] timeout. Not received [user_regulardl8x7i0202@test-domain.com:message:received:content_9693vv0205]

2021-03-31 22:28:54 | [Mutex] isItemNotified: user_regulardl8x7i0202@test-domain.com:message:received:content_9693vv0205 :: false

2021-03-31 22:28:54 |


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


2021-03-31 22:28:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 22:28:55 | command: <data><node>node_24qxt20203</node><entry><content>content_nonah50206</content></entry></data>

2021-03-31 22:28:55 | target: http://localhost:8088

2021-03-31 22:28:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-31 22:28:55 | entity: <data><node>node_24qxt20203</node><entry><content>content_nonah50206</content></entry></data>

2021-03-31 22:28:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:28:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 22:28:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6e0a2e40-60bf-4746-b27b-377d1c07db31</value></item-id></result>

2021-03-31 22:28:55 | contains: true

2021-03-31 22:29:00 | [Mutex] waiting for: [user_regulardl8x7i0202@test-domain.com:message:received:content_nonah50206]

2021-03-31 22:29:00 | [Mutex] waiting for: [user_regulardl8x7i0202@test-domain.com:message:received:content_nonah50206]

2021-03-31 22:29:00 | [Mutex] received everything.

2021-03-31 22:29:00 | [Mutex] isItemNotified: user_regulardl8x7i0202@test-domain.com:message:received:content_nonah50206 :: true

2021-03-31 22:29:00 |


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


2021-03-31 22:29:00 | [Mutex] received everything.

2021-03-31 22:29:00 | [Mutex] isItemNotified: node_24qxt20203:subscribe_node:success :: true

2021-03-31 22:29:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 22:29:00 | command: <data><node>node_24qxt20203</node><expire-at>2021-04-01T05:29:05Z</expire-at><entry><content>content_fbuao60207</content></entry></data>

2021-03-31 22:29:00 | target: http://localhost:8088

2021-03-31 22:29:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-31 22:29:00 | entity: <data><node>node_24qxt20203</node><expire-at>2021-04-01T05:29:05Z</expire-at><entry><content>content_fbuao60207</content></entry></data>

2021-03-31 22:29:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:29:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 22:29:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>da0093b2-ce81-47c5-9307-3aca24a7d4cf</value></item-id></result>

2021-03-31 22:29:00 | contains: true

2021-03-31 22:29:08 | [Mutex] waiting for: [user_regulardl8x7i0202@test-domain.com:message:received:content_fbuao60207]

2021-03-31 22:29:08 | [Mutex] waiting for: [user_regulardl8x7i0202@test-domain.com:message:received:content_fbuao60207]

2021-03-31 22:29:23 | [Mutex] timeout. Not received [user_regulardl8x7i0202@test-domain.com:message:received:content_fbuao60207]

2021-03-31 22:29:23 | [Mutex] received everything.

2021-03-31 22:29:23 | [Mutex] isItemNotified: user_regulardl8x7i0202@test-domain.com:message:received:content_fbuao60207 :: false

2021-03-31 22:29:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fbuao60207 :: true