Generated by TestNG with ReportNG at 07:53 PST on Tuesday 24 November 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.521s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.697s
2020-11-24 08:09:53 |

2020-11-24 08:09:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-24 08:09:53 | ------------------------------------

2020-11-24 08:09:53 | [Mutex] isItemNotified: node_dphnbg0203:exists :: false

2020-11-24 08:09:53 | [Mutex] waiting for: [node_dphnbg0203:create_node]

2020-11-24 08:09:53 | [Mutex] waiting for: [node_dphnbg0203:create_node]

2020-11-24 08:09:53 | [Mutex] received everything.

2020-11-24 08:09:53 | [Mutex] isItemNotified: node_dphnbg0203:create_node:success :: true

2020-11-24 08:09:53 | [Mutex] waiting for: [node_dphnbg0203:subscribe_node]

2020-11-24 08:09:53 | [Mutex] received everything.

2020-11-24 08:09:53 | [Mutex] isItemNotified: node_dphnbg0203:subscribe_node:success :: true

2020-11-24 08:09:53 |


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


2020-11-24 08:09:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-24 08:09:53 | command: <data><node>node_dphnbg0203</node><entry><content>content_pb8u5d0204</content></entry></data>

2020-11-24 08:09:53 | target: http://localhost:8088

2020-11-24 08:09:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-24 08:09:53 | entity: <data><node>node_dphnbg0203</node><entry><content>content_pb8u5d0204</content></entry></data>

2020-11-24 08:09:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:09:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-24 08:09:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc02ee83-2677-41e7-b2c3-6158cef4bbf5</value></item-id></result>

2020-11-24 08:09:53 | contains: true

2020-11-24 08:09:53 | [Mutex] received everything.

2020-11-24 08:09:53 | [Mutex] isItemNotified: user_regularis6k070202@test-domain.com:message:received:content_pb8u5d0204 :: true

2020-11-24 08:09:53 |


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


2020-11-24 08:09:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-24 08:09:53 | command: <data><node>node_dphnbg0203</node><expire-at>2020-11-24T16:09:48Z</expire-at><entry><content>content_ft2g0q0205</content></entry></data>

2020-11-24 08:09:53 | target: http://localhost:8088

2020-11-24 08:09:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-24 08:09:53 | entity: <data><node>node_dphnbg0203</node><expire-at>2020-11-24T16:09:48Z</expire-at><entry><content>content_ft2g0q0205</content></entry></data>

2020-11-24 08:09:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:09:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-24 08:09:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc20ce22-1aa2-4b95-b140-7bd3557e16b2</value></item-id></result>

2020-11-24 08:09:53 | contains: true

2020-11-24 08:09:53 | [Mutex] waiting for: [user_regularis6k070202@test-domain.com:message:received:content_ft2g0q0205]

2020-11-24 08:10:08 | [Mutex] timeout. Not received [user_regularis6k070202@test-domain.com:message:received:content_ft2g0q0205]

2020-11-24 08:10:08 | [Mutex] isItemNotified: user_regularis6k070202@test-domain.com:message:received:content_ft2g0q0205 :: false

2020-11-24 08:10:08 |


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


2020-11-24 08:10:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-24 08:10:08 | command: <data><node>node_dphnbg0203</node><entry><content>content_7kyxgw0206</content></entry></data>

2020-11-24 08:10:08 | target: http://localhost:8088

2020-11-24 08:10:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-24 08:10:08 | entity: <data><node>node_dphnbg0203</node><entry><content>content_7kyxgw0206</content></entry></data>

2020-11-24 08:10:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:10:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-24 08:10:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>97e5f5eb-6ca1-4eaf-9616-0f6173164f5d</value></item-id></result>

2020-11-24 08:10:08 | contains: true

2020-11-24 08:10:13 | [Mutex] waiting for: [user_regularis6k070202@test-domain.com:message:received:content_7kyxgw0206]

2020-11-24 08:10:13 | [Mutex] received everything.

2020-11-24 08:10:13 | [Mutex] isItemNotified: user_regularis6k070202@test-domain.com:message:received:content_7kyxgw0206 :: true

2020-11-24 08:10:13 |


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


2020-11-24 08:10:13 | [Mutex] received everything.

2020-11-24 08:10:13 | [Mutex] isItemNotified: node_dphnbg0203:subscribe_node:success :: true

2020-11-24 08:10:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-24 08:10:13 | command: <data><node>node_dphnbg0203</node><expire-at>2020-11-24T16:10:18Z</expire-at><entry><content>content_j5fsdh0207</content></entry></data>

2020-11-24 08:10:13 | target: http://localhost:8088

2020-11-24 08:10:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-24 08:10:13 | entity: <data><node>node_dphnbg0203</node><expire-at>2020-11-24T16:10:18Z</expire-at><entry><content>content_j5fsdh0207</content></entry></data>

2020-11-24 08:10:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:10:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-24 08:10:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>00a96a51-2edd-40d6-912e-a3994c11a528</value></item-id></result>

2020-11-24 08:10:13 | contains: true

2020-11-24 08:10:21 | [Mutex] waiting for: [user_regularis6k070202@test-domain.com:message:received:content_j5fsdh0207]

2020-11-24 08:10:21 | [Mutex] waiting for: [user_regularis6k070202@test-domain.com:message:received:content_j5fsdh0207]

2020-11-24 08:10:36 | [Mutex] timeout. Not received [user_regularis6k070202@test-domain.com:message:received:content_j5fsdh0207]

2020-11-24 08:10:36 | [Mutex] received everything.

2020-11-24 08:10:36 | [Mutex] isItemNotified: user_regularis6k070202@test-domain.com:message:received:content_j5fsdh0207 :: false

2020-11-24 08:10:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j5fsdh0207 :: true