Generated by TestNG with ReportNG at 21:42 PST on Monday 21 December 2020
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.692s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.768s
2020-12-21 21:59:26 |

2020-12-21 21:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-21 21:59:26 | ------------------------------------

2020-12-21 21:59:26 | [Mutex] isItemNotified: node_636zze0203:exists :: false

2020-12-21 21:59:26 | [Mutex] waiting for: [node_636zze0203:create_node]

2020-12-21 21:59:26 | [Mutex] received everything.

2020-12-21 21:59:26 | [Mutex] isItemNotified: node_636zze0203:create_node:success :: true

2020-12-21 21:59:26 | [Mutex] waiting for: [node_636zze0203:subscribe_node]

2020-12-21 21:59:26 | [Mutex] waiting for: [node_636zze0203:subscribe_node]

2020-12-21 21:59:26 | [Mutex] received everything.

2020-12-21 21:59:26 | [Mutex] isItemNotified: node_636zze0203:subscribe_node:success :: true

2020-12-21 21:59:26 |


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


2020-12-21 21:59:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:59:26 | command: <data><node>node_636zze0203</node><entry><content>content_wiob9r0204</content></entry></data>

2020-12-21 21:59:26 | target: http://localhost:8088

2020-12-21 21:59:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-21 21:59:26 | entity: <data><node>node_636zze0203</node><entry><content>content_wiob9r0204</content></entry></data>

2020-12-21 21:59:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:59:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:59:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>245d4752-b531-4f02-bb3d-7b65478e2a7d</value></item-id></result>

2020-12-21 21:59:26 | contains: true

2020-12-21 21:59:26 | [Mutex] received everything.

2020-12-21 21:59:26 | [Mutex] isItemNotified: user_regularbw6bwf0202@test-domain.com:message:received:content_wiob9r0204 :: true

2020-12-21 21:59:26 |


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


2020-12-21 21:59:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:59:26 | command: <data><node>node_636zze0203</node><expire-at>2020-12-22T05:59:21Z</expire-at><entry><content>content_dl0deu0205</content></entry></data>

2020-12-21 21:59:26 | target: http://localhost:8088

2020-12-21 21:59:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-21 21:59:26 | entity: <data><node>node_636zze0203</node><expire-at>2020-12-22T05:59:21Z</expire-at><entry><content>content_dl0deu0205</content></entry></data>

2020-12-21 21:59:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:59:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:59:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3c7ff742-f240-4395-a267-f7ed9f3b4569</value></item-id></result>

2020-12-21 21:59:26 | contains: true

2020-12-21 21:59:26 | [Mutex] waiting for: [user_regularbw6bwf0202@test-domain.com:message:received:content_dl0deu0205]

2020-12-21 21:59:41 | [Mutex] timeout. Not received [user_regularbw6bwf0202@test-domain.com:message:received:content_dl0deu0205]

2020-12-21 21:59:41 | [Mutex] isItemNotified: user_regularbw6bwf0202@test-domain.com:message:received:content_dl0deu0205 :: false

2020-12-21 21:59:41 |


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


2020-12-21 21:59:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:59:41 | command: <data><node>node_636zze0203</node><entry><content>content_ca9y900206</content></entry></data>

2020-12-21 21:59:41 | target: http://localhost:8088

2020-12-21 21:59:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-21 21:59:41 | entity: <data><node>node_636zze0203</node><entry><content>content_ca9y900206</content></entry></data>

2020-12-21 21:59:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:59:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:59:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1eaf309-4f42-4063-84d7-31e23973c110</value></item-id></result>

2020-12-21 21:59:41 | contains: true

2020-12-21 21:59:47 | [Mutex] waiting for: [user_regularbw6bwf0202@test-domain.com:message:received:content_ca9y900206]

2020-12-21 21:59:47 | [Mutex] waiting for: [user_regularbw6bwf0202@test-domain.com:message:received:content_ca9y900206]

2020-12-21 21:59:47 | [Mutex] received everything.

2020-12-21 21:59:47 | [Mutex] isItemNotified: user_regularbw6bwf0202@test-domain.com:message:received:content_ca9y900206 :: true

2020-12-21 21:59:47 |


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


2020-12-21 21:59:47 | [Mutex] received everything.

2020-12-21 21:59:47 | [Mutex] isItemNotified: node_636zze0203:subscribe_node:success :: true

2020-12-21 21:59:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-21 21:59:47 | command: <data><node>node_636zze0203</node><expire-at>2020-12-22T05:59:52Z</expire-at><entry><content>content_8uwoug0207</content></entry></data>

2020-12-21 21:59:47 | target: http://localhost:8088

2020-12-21 21:59:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-21 21:59:47 | entity: <data><node>node_636zze0203</node><expire-at>2020-12-22T05:59:52Z</expire-at><entry><content>content_8uwoug0207</content></entry></data>

2020-12-21 21:59:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Dec 2020 05:59:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-21 21:59:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>60fa5006-8492-45d7-aabb-1b0781ac1079</value></item-id></result>

2020-12-21 21:59:47 | contains: true

2020-12-21 21:59:55 | [Mutex] waiting for: [user_regularbw6bwf0202@test-domain.com:message:received:content_8uwoug0207]

2020-12-21 22:00:10 | [Mutex] timeout. Not received [user_regularbw6bwf0202@test-domain.com:message:received:content_8uwoug0207]

2020-12-21 22:00:10 | [Mutex] received everything.

2020-12-21 22:00:10 | [Mutex] isItemNotified: user_regularbw6bwf0202@test-domain.com:message:received:content_8uwoug0207 :: false

2020-12-21 22:00:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8uwoug0207 :: true