Generated by TestNG with ReportNG at 22:58 PDT on Wednesday 16 September 2020
root@3bfba8b1ef0d / 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.751s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.789s
2020-09-16 23:15:50 |

2020-09-16 23:15:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-16 23:15:50 | ------------------------------------

2020-09-16 23:15:50 | [Mutex] isItemNotified: node_hybh4i0203:exists :: false

2020-09-16 23:15:50 | [Mutex] waiting for: [node_hybh4i0203:create_node]

2020-09-16 23:15:50 | [Mutex] received everything.

2020-09-16 23:15:50 | [Mutex] isItemNotified: node_hybh4i0203:create_node:success :: true

2020-09-16 23:15:50 | [Mutex] waiting for: [node_hybh4i0203:subscribe_node]

2020-09-16 23:15:50 | [Mutex] received everything.

2020-09-16 23:15:50 | [Mutex] isItemNotified: node_hybh4i0203:subscribe_node:success :: true

2020-09-16 23:15:50 |


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


2020-09-16 23:15:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 23:15:50 | command: <data><node>node_hybh4i0203</node><entry><content>content_b97uvt0204</content></entry></data>

2020-09-16 23:15:50 | target: http://localhost:8088

2020-09-16 23:15:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-16 23:15:50 | entity: <data><node>node_hybh4i0203</node><entry><content>content_b97uvt0204</content></entry></data>

2020-09-16 23:15:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 06:15:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 23:15:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>94de44bf-d1b1-42d0-84c2-ecdd43f1ec57</value></item-id></result>

2020-09-16 23:15:50 | contains: true

2020-09-16 23:15:50 | [Mutex] received everything.

2020-09-16 23:15:50 | [Mutex] isItemNotified: user_regularnjwpix0202@test-domain.com:message:received:content_b97uvt0204 :: true

2020-09-16 23:15:50 |


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


2020-09-16 23:15:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 23:15:50 | command: <data><node>node_hybh4i0203</node><expire-at>2020-09-17T06:15:45Z</expire-at><entry><content>content_elrcfo0205</content></entry></data>

2020-09-16 23:15:50 | target: http://localhost:8088

2020-09-16 23:15:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-16 23:15:50 | entity: <data><node>node_hybh4i0203</node><expire-at>2020-09-17T06:15:45Z</expire-at><entry><content>content_elrcfo0205</content></entry></data>

2020-09-16 23:15:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 06:15:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 23:15:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6d6dafa5-e64b-4817-86dd-9be12565848d</value></item-id></result>

2020-09-16 23:15:50 | contains: true

2020-09-16 23:15:50 | [Mutex] waiting for: [user_regularnjwpix0202@test-domain.com:message:received:content_elrcfo0205]

2020-09-16 23:16:05 | [Mutex] timeout. Not received [user_regularnjwpix0202@test-domain.com:message:received:content_elrcfo0205]

2020-09-16 23:16:05 | [Mutex] isItemNotified: user_regularnjwpix0202@test-domain.com:message:received:content_elrcfo0205 :: false

2020-09-16 23:16:05 |


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


2020-09-16 23:16:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 23:16:05 | command: <data><node>node_hybh4i0203</node><entry><content>content_2a7ty0206</content></entry></data>

2020-09-16 23:16:05 | target: http://localhost:8088

2020-09-16 23:16:05 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-09-16 23:16:05 | entity: <data><node>node_hybh4i0203</node><entry><content>content_2a7ty0206</content></entry></data>

2020-09-16 23:16:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 06:16:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 23:16:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7c291a8b-b3cf-4d5c-a58c-156ba2e999fa</value></item-id></result>

2020-09-16 23:16:05 | contains: true

2020-09-16 23:16:11 | [Mutex] waiting for: [user_regularnjwpix0202@test-domain.com:message:received:content_2a7ty0206]

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

2020-09-16 23:16:11 | [Mutex] isItemNotified: user_regularnjwpix0202@test-domain.com:message:received:content_2a7ty0206 :: true

2020-09-16 23:16:11 |


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


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

2020-09-16 23:16:11 | [Mutex] isItemNotified: node_hybh4i0203:subscribe_node:success :: true

2020-09-16 23:16:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-16 23:16:11 | command: <data><node>node_hybh4i0203</node><expire-at>2020-09-17T06:16:16Z</expire-at><entry><content>content_uurxxg0207</content></entry></data>

2020-09-16 23:16:11 | target: http://localhost:8088

2020-09-16 23:16:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-16 23:16:11 | entity: <data><node>node_hybh4i0203</node><expire-at>2020-09-17T06:16:16Z</expire-at><entry><content>content_uurxxg0207</content></entry></data>

2020-09-16 23:16:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Sep 2020 06:16:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-16 23:16:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a59d5cd8-0b2f-488a-916a-6a2441d3c601</value></item-id></result>

2020-09-16 23:16:11 | contains: true

2020-09-16 23:16:19 | [Mutex] waiting for: [user_regularnjwpix0202@test-domain.com:message:received:content_uurxxg0207]

2020-09-16 23:16:19 | [Mutex] waiting for: [user_regularnjwpix0202@test-domain.com:message:received:content_uurxxg0207]

2020-09-16 23:16:34 | [Mutex] timeout. Not received [user_regularnjwpix0202@test-domain.com:message:received:content_uurxxg0207]

2020-09-16 23:16:34 | [Mutex] received everything.

2020-09-16 23:16:34 | [Mutex] isItemNotified: user_regularnjwpix0202@test-domain.com:message:received:content_uurxxg0207 :: false

2020-09-16 23:16:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uurxxg0207 :: true