Generated by TestNG with ReportNG at 21:13 PST on Thursday 21 January 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 : 46.033s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.793s
2021-01-21 21:31:08 |

2021-01-21 21:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-21 21:31:08 | ------------------------------------

2021-01-21 21:31:08 | [Mutex] isItemNotified: node_zdj6p00203:exists :: false

2021-01-21 21:31:08 | [Mutex] waiting for: [node_zdj6p00203:create_node]

2021-01-21 21:31:08 | [Mutex] received everything.

2021-01-21 21:31:08 | [Mutex] isItemNotified: node_zdj6p00203:create_node:success :: true

2021-01-21 21:31:08 | [Mutex] received everything.

2021-01-21 21:31:08 | [Mutex] isItemNotified: node_zdj6p00203:subscribe_node:success :: true

2021-01-21 21:31:08 |


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


2021-01-21 21:31:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-21 21:31:08 | command: <data><node>node_zdj6p00203</node><entry><content>content_j1xf5x0204</content></entry></data>

2021-01-21 21:31:08 | target: http://localhost:8088

2021-01-21 21:31:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-21 21:31:08 | entity: <data><node>node_zdj6p00203</node><entry><content>content_j1xf5x0204</content></entry></data>

2021-01-21 21:31:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:31:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-21 21:31:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2896b79d-e1d2-43de-aed9-64554f4db43d</value></item-id></result>

2021-01-21 21:31:08 | contains: true

2021-01-21 21:31:08 | [Mutex] received everything.

2021-01-21 21:31:08 | [Mutex] isItemNotified: user_regular9zsmea0202@test-domain.com:message:received:content_j1xf5x0204 :: true

2021-01-21 21:31:08 |


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


2021-01-21 21:31:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-21 21:31:08 | command: <data><node>node_zdj6p00203</node><expire-at>2021-01-22T05:31:03Z</expire-at><entry><content>content_5bshcq0205</content></entry></data>

2021-01-21 21:31:08 | target: http://localhost:8088

2021-01-21 21:31:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-21 21:31:08 | entity: <data><node>node_zdj6p00203</node><expire-at>2021-01-22T05:31:03Z</expire-at><entry><content>content_5bshcq0205</content></entry></data>

2021-01-21 21:31:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:31:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-21 21:31:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc0b0c63-de6f-4fd0-bf00-853fb1c1a4cf</value></item-id></result>

2021-01-21 21:31:08 | contains: true

2021-01-21 21:31:08 | [Mutex] waiting for: [user_regular9zsmea0202@test-domain.com:message:received:content_5bshcq0205]

2021-01-21 21:31:23 | [Mutex] timeout. Not received [user_regular9zsmea0202@test-domain.com:message:received:content_5bshcq0205]

2021-01-21 21:31:23 | [Mutex] isItemNotified: user_regular9zsmea0202@test-domain.com:message:received:content_5bshcq0205 :: false

2021-01-21 21:31:23 |


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


2021-01-21 21:31:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-21 21:31:23 | command: <data><node>node_zdj6p00203</node><entry><content>content_v1tp2l0206</content></entry></data>

2021-01-21 21:31:23 | target: http://localhost:8088

2021-01-21 21:31:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-21 21:31:23 | entity: <data><node>node_zdj6p00203</node><entry><content>content_v1tp2l0206</content></entry></data>

2021-01-21 21:31:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:31:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-21 21:31:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7517b042-5069-410c-a01f-cd5fdf58e5dc</value></item-id></result>

2021-01-21 21:31:23 | contains: true

2021-01-21 21:31:28 | [Mutex] waiting for: [user_regular9zsmea0202@test-domain.com:message:received:content_v1tp2l0206]

2021-01-21 21:31:28 | [Mutex] received everything.

2021-01-21 21:31:28 | [Mutex] isItemNotified: user_regular9zsmea0202@test-domain.com:message:received:content_v1tp2l0206 :: true

2021-01-21 21:31:28 |


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


2021-01-21 21:31:28 | [Mutex] received everything.

2021-01-21 21:31:28 | [Mutex] isItemNotified: node_zdj6p00203:subscribe_node:success :: true

2021-01-21 21:31:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-21 21:31:28 | command: <data><node>node_zdj6p00203</node><expire-at>2021-01-22T05:31:33Z</expire-at><entry><content>content_a5s5kf0207</content></entry></data>

2021-01-21 21:31:28 | target: http://localhost:8088

2021-01-21 21:31:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-21 21:31:28 | entity: <data><node>node_zdj6p00203</node><expire-at>2021-01-22T05:31:33Z</expire-at><entry><content>content_a5s5kf0207</content></entry></data>

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

2021-01-21 21:31:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67fade6c-0574-4aee-9dbe-736a45f9108f</value></item-id></result>

2021-01-21 21:31:28 | contains: true

2021-01-21 21:31:36 | [Mutex] waiting for: [user_regular9zsmea0202@test-domain.com:message:received:content_a5s5kf0207]

2021-01-21 21:31:36 | [Mutex] waiting for: [user_regular9zsmea0202@test-domain.com:message:received:content_a5s5kf0207]

2021-01-21 21:31:36 | [Mutex] waiting for: [user_regular9zsmea0202@test-domain.com:message:received:content_a5s5kf0207]

2021-01-21 21:31:51 | [Mutex] timeout. Not received [user_regular9zsmea0202@test-domain.com:message:received:content_a5s5kf0207]

2021-01-21 21:31:51 | [Mutex] received everything.

2021-01-21 21:31:51 | [Mutex] isItemNotified: user_regular9zsmea0202@test-domain.com:message:received:content_a5s5kf0207 :: false

2021-01-21 21:31:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_a5s5kf0207 :: true