Generated by TestNG with ReportNG at 22:18 PDT on Thursday 13 May 2021
root@b2c2a8eba6e6 / 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.526s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.725s
2021-05-13 22:33:18 |

2021-05-13 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-13 22:33:18 | ------------------------------------

2021-05-13 22:33:18 | [Mutex] isItemNotified: node_z0hvn0203:exists :: false

2021-05-13 22:33:18 | [Mutex] waiting for: [node_z0hvn0203:create_node]

2021-05-13 22:33:18 | [Mutex] received everything.

2021-05-13 22:33:18 | [Mutex] isItemNotified: node_z0hvn0203:create_node:success :: true

2021-05-13 22:33:18 | [Mutex] waiting for: [node_z0hvn0203:subscribe_node]

2021-05-13 22:33:18 | [Mutex] waiting for: [node_z0hvn0203:subscribe_node]

2021-05-13 22:33:18 | [Mutex] received everything.

2021-05-13 22:33:18 | [Mutex] isItemNotified: node_z0hvn0203:subscribe_node:success :: true

2021-05-13 22:33:18 |


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


2021-05-13 22:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:33:18 | command: <data><node>node_z0hvn0203</node><entry><content>content_6wdoo20204</content></entry></data>

2021-05-13 22:33:18 | target: http://localhost:8088

2021-05-13 22:33:18 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-05-13 22:33:18 | entity: <data><node>node_z0hvn0203</node><entry><content>content_6wdoo20204</content></entry></data>

2021-05-13 22:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4e1660de-0658-45fa-819a-4185079f2261</value></item-id></result>

2021-05-13 22:33:18 | contains: true

2021-05-13 22:33:18 | [Mutex] received everything.

2021-05-13 22:33:18 | [Mutex] isItemNotified: user_regularcexfe50202@test-domain.com:message:received:content_6wdoo20204 :: true

2021-05-13 22:33:18 |


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


2021-05-13 22:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:33:18 | command: <data><node>node_z0hvn0203</node><expire-at>2021-05-14T05:33:13Z</expire-at><entry><content>content_k5rjsr0205</content></entry></data>

2021-05-13 22:33:18 | target: http://localhost:8088

2021-05-13 22:33:18 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-05-13 22:33:18 | entity: <data><node>node_z0hvn0203</node><expire-at>2021-05-14T05:33:13Z</expire-at><entry><content>content_k5rjsr0205</content></entry></data>

2021-05-13 22:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>95a00e29-9d65-4636-8b6a-bd1d66fb9d0c</value></item-id></result>

2021-05-13 22:33:18 | contains: true

2021-05-13 22:33:18 | [Mutex] waiting for: [user_regularcexfe50202@test-domain.com:message:received:content_k5rjsr0205]

2021-05-13 22:33:33 | [Mutex] timeout. Not received [user_regularcexfe50202@test-domain.com:message:received:content_k5rjsr0205]

2021-05-13 22:33:33 | [Mutex] isItemNotified: user_regularcexfe50202@test-domain.com:message:received:content_k5rjsr0205 :: false

2021-05-13 22:33:33 |


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


2021-05-13 22:33:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:33:33 | command: <data><node>node_z0hvn0203</node><entry><content>content_dyodvo0206</content></entry></data>

2021-05-13 22:33:33 | target: http://localhost:8088

2021-05-13 22:33:33 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-05-13 22:33:33 | entity: <data><node>node_z0hvn0203</node><entry><content>content_dyodvo0206</content></entry></data>

2021-05-13 22:33:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:33:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:33:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37cb8ec7-86bc-4aca-b6fc-e0e39c09c662</value></item-id></result>

2021-05-13 22:33:33 | contains: true

2021-05-13 22:33:39 | [Mutex] waiting for: [user_regularcexfe50202@test-domain.com:message:received:content_dyodvo0206]

2021-05-13 22:33:39 | [Mutex] waiting for: [user_regularcexfe50202@test-domain.com:message:received:content_dyodvo0206]

2021-05-13 22:33:39 | [Mutex] received everything.

2021-05-13 22:33:39 | [Mutex] isItemNotified: user_regularcexfe50202@test-domain.com:message:received:content_dyodvo0206 :: true

2021-05-13 22:33:39 |


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


2021-05-13 22:33:39 | [Mutex] received everything.

2021-05-13 22:33:39 | [Mutex] isItemNotified: node_z0hvn0203:subscribe_node:success :: true

2021-05-13 22:33:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-13 22:33:39 | command: <data><node>node_z0hvn0203</node><expire-at>2021-05-14T05:33:44Z</expire-at><entry><content>content_wgkdkf0207</content></entry></data>

2021-05-13 22:33:39 | target: http://localhost:8088

2021-05-13 22:33:39 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-05-13 22:33:39 | entity: <data><node>node_z0hvn0203</node><expire-at>2021-05-14T05:33:44Z</expire-at><entry><content>content_wgkdkf0207</content></entry></data>

2021-05-13 22:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-13 22:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a2bd2c38-1fae-40f7-84e3-f38b7f186591</value></item-id></result>

2021-05-13 22:33:39 | contains: true

2021-05-13 22:33:47 | [Mutex] waiting for: [user_regularcexfe50202@test-domain.com:message:received:content_wgkdkf0207]

2021-05-13 22:33:47 | [Mutex] waiting for: [user_regularcexfe50202@test-domain.com:message:received:content_wgkdkf0207]

2021-05-13 22:33:47 | [Mutex] waiting for: [user_regularcexfe50202@test-domain.com:message:received:content_wgkdkf0207]

2021-05-13 22:34:02 | [Mutex] timeout. Not received [user_regularcexfe50202@test-domain.com:message:received:content_wgkdkf0207]

2021-05-13 22:34:02 | [Mutex] received everything.

2021-05-13 22:34:02 | [Mutex] isItemNotified: user_regularcexfe50202@test-domain.com:message:received:content_wgkdkf0207 :: false

2021-05-13 22:34:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wgkdkf0207 :: true