Generated by TestNG with ReportNG at 22:14 PDT on Monday 05 April 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.555s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.589s
2021-04-05 22:31:43 |

2021-04-05 22:31:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-05 22:31:43 | ------------------------------------

2021-04-05 22:31:43 | [Mutex] isItemNotified: node_u3b2qe0203:exists :: false

2021-04-05 22:31:43 | [Mutex] waiting for: [node_u3b2qe0203:create_node]

2021-04-05 22:31:43 | [Mutex] received everything.

2021-04-05 22:31:43 | [Mutex] isItemNotified: node_u3b2qe0203:create_node:success :: true

2021-04-05 22:31:43 | [Mutex] waiting for: [node_u3b2qe0203:subscribe_node]

2021-04-05 22:31:43 | [Mutex] received everything.

2021-04-05 22:31:43 | [Mutex] isItemNotified: node_u3b2qe0203:subscribe_node:success :: true

2021-04-05 22:31:43 |


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


2021-04-05 22:31:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:31:43 | command: <data><node>node_u3b2qe0203</node><entry><content>content_ydvylc0204</content></entry></data>

2021-04-05 22:31:43 | target: http://localhost:8088

2021-04-05 22:31:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-05 22:31:43 | entity: <data><node>node_u3b2qe0203</node><entry><content>content_ydvylc0204</content></entry></data>

2021-04-05 22:31:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:31:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-05 22:31:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>89410b04-08a8-4197-8828-4e68c75272e2</value></item-id></result>

2021-04-05 22:31:43 | contains: true

2021-04-05 22:31:43 | [Mutex] received everything.

2021-04-05 22:31:43 | [Mutex] isItemNotified: user_regularfscych0202@test-domain.com:message:received:content_ydvylc0204 :: true

2021-04-05 22:31:43 |


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


2021-04-05 22:31:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:31:43 | command: <data><node>node_u3b2qe0203</node><expire-at>2021-04-06T05:31:38Z</expire-at><entry><content>content_rq6ovd0205</content></entry></data>

2021-04-05 22:31:43 | target: http://localhost:8088

2021-04-05 22:31:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-05 22:31:43 | entity: <data><node>node_u3b2qe0203</node><expire-at>2021-04-06T05:31:38Z</expire-at><entry><content>content_rq6ovd0205</content></entry></data>

2021-04-05 22:31:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:31:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-05 22:31:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9e0c17fc-a430-4f35-bc33-615c81ad9cae</value></item-id></result>

2021-04-05 22:31:43 | contains: true

2021-04-05 22:31:43 | [Mutex] waiting for: [user_regularfscych0202@test-domain.com:message:received:content_rq6ovd0205]

2021-04-05 22:31:58 | [Mutex] timeout. Not received [user_regularfscych0202@test-domain.com:message:received:content_rq6ovd0205]

2021-04-05 22:31:58 | [Mutex] isItemNotified: user_regularfscych0202@test-domain.com:message:received:content_rq6ovd0205 :: false

2021-04-05 22:31:58 |


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


2021-04-05 22:31:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:31:58 | command: <data><node>node_u3b2qe0203</node><entry><content>content_ajtf3a0206</content></entry></data>

2021-04-05 22:31:58 | target: http://localhost:8088

2021-04-05 22:31:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-05 22:31:58 | entity: <data><node>node_u3b2qe0203</node><entry><content>content_ajtf3a0206</content></entry></data>

2021-04-05 22:31:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:31:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-05 22:31:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a3a5b860-3a0e-4e32-8169-951a68d2cc6a</value></item-id></result>

2021-04-05 22:31:58 | contains: true

2021-04-05 22:32:03 | [Mutex] waiting for: [user_regularfscych0202@test-domain.com:message:received:content_ajtf3a0206]

2021-04-05 22:32:03 | [Mutex] received everything.

2021-04-05 22:32:03 | [Mutex] isItemNotified: user_regularfscych0202@test-domain.com:message:received:content_ajtf3a0206 :: true

2021-04-05 22:32:03 |


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


2021-04-05 22:32:03 | [Mutex] received everything.

2021-04-05 22:32:03 | [Mutex] isItemNotified: node_u3b2qe0203:subscribe_node:success :: true

2021-04-05 22:32:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:32:03 | command: <data><node>node_u3b2qe0203</node><expire-at>2021-04-06T05:32:08Z</expire-at><entry><content>content_udh7g90207</content></entry></data>

2021-04-05 22:32:03 | target: http://localhost:8088

2021-04-05 22:32:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-05 22:32:03 | entity: <data><node>node_u3b2qe0203</node><expire-at>2021-04-06T05:32:08Z</expire-at><entry><content>content_udh7g90207</content></entry></data>

2021-04-05 22:32:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:32:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-05 22:32:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1f6133be-136f-4413-adb7-6f6fefd0fa7f</value></item-id></result>

2021-04-05 22:32:03 | contains: true

2021-04-05 22:32:11 | [Mutex] waiting for: [user_regularfscych0202@test-domain.com:message:received:content_udh7g90207]

2021-04-05 22:32:26 | [Mutex] timeout. Not received [user_regularfscych0202@test-domain.com:message:received:content_udh7g90207]

2021-04-05 22:32:26 | [Mutex] received everything.

2021-04-05 22:32:26 | [Mutex] isItemNotified: user_regularfscych0202@test-domain.com:message:received:content_udh7g90207 :: false

2021-04-05 22:32:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_udh7g90207 :: true