Generated by TestNG with ReportNG at 22:54 PDT on Sunday 13 September 2020
root@bb2e6c1b4ae6 / 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.576s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.748s
2020-09-13 23:10:25 |

2020-09-13 23:10:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-13 23:10:25 | ------------------------------------

2020-09-13 23:10:25 | [Mutex] isItemNotified: node_mm9ack0203:exists :: false

2020-09-13 23:10:25 | [Mutex] waiting for: [node_mm9ack0203:create_node]

2020-09-13 23:10:25 | [Mutex] waiting for: [node_mm9ack0203:create_node]

2020-09-13 23:10:25 | [Mutex] received everything.

2020-09-13 23:10:25 | [Mutex] isItemNotified: node_mm9ack0203:create_node:success :: true

2020-09-13 23:10:25 | [Mutex] waiting for: [node_mm9ack0203:subscribe_node]

2020-09-13 23:10:25 | [Mutex] waiting for: [node_mm9ack0203:subscribe_node]

2020-09-13 23:10:25 | [Mutex] received everything.

2020-09-13 23:10:25 | [Mutex] isItemNotified: node_mm9ack0203:subscribe_node:success :: true

2020-09-13 23:10:25 |


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


2020-09-13 23:10:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-13 23:10:25 | command: <data><node>node_mm9ack0203</node><entry><content>content_pxvb810204</content></entry></data>

2020-09-13 23:10:25 | target: http://localhost:8088

2020-09-13 23:10:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-13 23:10:25 | entity: <data><node>node_mm9ack0203</node><entry><content>content_pxvb810204</content></entry></data>

2020-09-13 23:10:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 06:10:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-13 23:10:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>681ebdb3-3b91-4876-85a4-e53375b3b00d</value></item-id></result>

2020-09-13 23:10:25 | contains: true

2020-09-13 23:10:25 | [Mutex] received everything.

2020-09-13 23:10:25 | [Mutex] isItemNotified: user_regular5yw3va0202@test-domain.com:message:received:content_pxvb810204 :: true

2020-09-13 23:10:25 |


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


2020-09-13 23:10:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-13 23:10:25 | command: <data><node>node_mm9ack0203</node><expire-at>2020-09-14T06:10:20Z</expire-at><entry><content>content_39kbx40205</content></entry></data>

2020-09-13 23:10:25 | target: http://localhost:8088

2020-09-13 23:10:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-13 23:10:25 | entity: <data><node>node_mm9ack0203</node><expire-at>2020-09-14T06:10:20Z</expire-at><entry><content>content_39kbx40205</content></entry></data>

2020-09-13 23:10:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 06:10:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-13 23:10:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6087ca1d-e1f6-40a3-b59d-314fde75c3c5</value></item-id></result>

2020-09-13 23:10:25 | contains: true

2020-09-13 23:10:25 | [Mutex] waiting for: [user_regular5yw3va0202@test-domain.com:message:received:content_39kbx40205]

2020-09-13 23:10:40 | [Mutex] timeout. Not received [user_regular5yw3va0202@test-domain.com:message:received:content_39kbx40205]

2020-09-13 23:10:40 | [Mutex] isItemNotified: user_regular5yw3va0202@test-domain.com:message:received:content_39kbx40205 :: false

2020-09-13 23:10:40 |


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


2020-09-13 23:10:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-13 23:10:40 | command: <data><node>node_mm9ack0203</node><entry><content>content_k60jym0206</content></entry></data>

2020-09-13 23:10:40 | target: http://localhost:8088

2020-09-13 23:10:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-13 23:10:40 | entity: <data><node>node_mm9ack0203</node><entry><content>content_k60jym0206</content></entry></data>

2020-09-13 23:10:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 06:10:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-13 23:10:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1ef55b4-7f9b-4095-b2ee-b4663c59ead2</value></item-id></result>

2020-09-13 23:10:40 | contains: true

2020-09-13 23:10:46 | [Mutex] waiting for: [user_regular5yw3va0202@test-domain.com:message:received:content_k60jym0206]

2020-09-13 23:10:46 | [Mutex] received everything.

2020-09-13 23:10:46 | [Mutex] isItemNotified: user_regular5yw3va0202@test-domain.com:message:received:content_k60jym0206 :: true

2020-09-13 23:10:46 |


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


2020-09-13 23:10:46 | [Mutex] received everything.

2020-09-13 23:10:46 | [Mutex] isItemNotified: node_mm9ack0203:subscribe_node:success :: true

2020-09-13 23:10:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-13 23:10:46 | command: <data><node>node_mm9ack0203</node><expire-at>2020-09-14T06:10:51Z</expire-at><entry><content>content_o4cx3w0207</content></entry></data>

2020-09-13 23:10:46 | target: http://localhost:8088

2020-09-13 23:10:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-13 23:10:46 | entity: <data><node>node_mm9ack0203</node><expire-at>2020-09-14T06:10:51Z</expire-at><entry><content>content_o4cx3w0207</content></entry></data>

2020-09-13 23:10:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 06:10:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-13 23:10:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d74bd2ad-db16-4002-9e29-5e08c48f5790</value></item-id></result>

2020-09-13 23:10:46 | contains: true

2020-09-13 23:10:54 | [Mutex] waiting for: [user_regular5yw3va0202@test-domain.com:message:received:content_o4cx3w0207]

2020-09-13 23:10:54 | [Mutex] waiting for: [user_regular5yw3va0202@test-domain.com:message:received:content_o4cx3w0207]

2020-09-13 23:11:09 | [Mutex] timeout. Not received [user_regular5yw3va0202@test-domain.com:message:received:content_o4cx3w0207]

2020-09-13 23:11:09 | [Mutex] received everything.

2020-09-13 23:11:09 | [Mutex] isItemNotified: user_regular5yw3va0202@test-domain.com:message:received:content_o4cx3w0207 :: false

2020-09-13 23:11:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o4cx3w0207 :: true