Generated by TestNG with ReportNG at 01:51 PDT on Friday 18 September 2020
root@f53a97fae7d2 / 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.622s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.763s
2020-09-18 02:06:59 |

2020-09-18 02:06:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-18 02:06:59 | ------------------------------------

2020-09-18 02:06:59 | [Mutex] isItemNotified: node_v07haj0203:exists :: false

2020-09-18 02:06:59 | [Mutex] waiting for: [node_v07haj0203:create_node]

2020-09-18 02:06:59 | [Mutex] received everything.

2020-09-18 02:06:59 | [Mutex] isItemNotified: node_v07haj0203:create_node:success :: true

2020-09-18 02:06:59 | [Mutex] waiting for: [node_v07haj0203:subscribe_node]

2020-09-18 02:06:59 | [Mutex] received everything.

2020-09-18 02:06:59 | [Mutex] isItemNotified: node_v07haj0203:subscribe_node:success :: true

2020-09-18 02:06:59 |


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


2020-09-18 02:06:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 02:06:59 | command: <data><node>node_v07haj0203</node><entry><content>content_zewwnw0204</content></entry></data>

2020-09-18 02:06:59 | target: http://localhost:8088

2020-09-18 02:06:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 02:06:59 | entity: <data><node>node_v07haj0203</node><entry><content>content_zewwnw0204</content></entry></data>

2020-09-18 02:06:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 09:06:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 02:06:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c552c0f0-1ce9-48ba-aced-6c8a5d47a46f</value></item-id></result>

2020-09-18 02:06:59 | contains: true

2020-09-18 02:06:59 | [Mutex] received everything.

2020-09-18 02:06:59 | [Mutex] isItemNotified: user_regular727hni0202@test-domain.com:message:received:content_zewwnw0204 :: true

2020-09-18 02:06:59 |


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


2020-09-18 02:06:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 02:06:59 | command: <data><node>node_v07haj0203</node><expire-at>2020-09-18T09:06:54Z</expire-at><entry><content>content_fa3g4g0205</content></entry></data>

2020-09-18 02:06:59 | target: http://localhost:8088

2020-09-18 02:06:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 02:06:59 | entity: <data><node>node_v07haj0203</node><expire-at>2020-09-18T09:06:54Z</expire-at><entry><content>content_fa3g4g0205</content></entry></data>

2020-09-18 02:06:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 09:06:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 02:06:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3bac8b78-0def-4c28-ba7b-b32dfaf4cd99</value></item-id></result>

2020-09-18 02:06:59 | contains: true

2020-09-18 02:06:59 | [Mutex] waiting for: [user_regular727hni0202@test-domain.com:message:received:content_fa3g4g0205]

2020-09-18 02:07:14 | [Mutex] timeout. Not received [user_regular727hni0202@test-domain.com:message:received:content_fa3g4g0205]

2020-09-18 02:07:14 | [Mutex] isItemNotified: user_regular727hni0202@test-domain.com:message:received:content_fa3g4g0205 :: false

2020-09-18 02:07:14 |


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


2020-09-18 02:07:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 02:07:15 | command: <data><node>node_v07haj0203</node><entry><content>content_wt0geh0206</content></entry></data>

2020-09-18 02:07:15 | target: http://localhost:8088

2020-09-18 02:07:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-18 02:07:15 | entity: <data><node>node_v07haj0203</node><entry><content>content_wt0geh0206</content></entry></data>

2020-09-18 02:07:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 09:07:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 02:07:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>86bfdc00-f773-46f7-9fc9-8adb393f590f</value></item-id></result>

2020-09-18 02:07:15 | contains: true

2020-09-18 02:07:20 | [Mutex] waiting for: [user_regular727hni0202@test-domain.com:message:received:content_wt0geh0206]

2020-09-18 02:07:20 | [Mutex] received everything.

2020-09-18 02:07:20 | [Mutex] isItemNotified: user_regular727hni0202@test-domain.com:message:received:content_wt0geh0206 :: true

2020-09-18 02:07:20 |


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


2020-09-18 02:07:20 | [Mutex] received everything.

2020-09-18 02:07:20 | [Mutex] isItemNotified: node_v07haj0203:subscribe_node:success :: true

2020-09-18 02:07:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-18 02:07:20 | command: <data><node>node_v07haj0203</node><expire-at>2020-09-18T09:07:25Z</expire-at><entry><content>content_ea8h630207</content></entry></data>

2020-09-18 02:07:20 | target: http://localhost:8088

2020-09-18 02:07:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-18 02:07:20 | entity: <data><node>node_v07haj0203</node><expire-at>2020-09-18T09:07:25Z</expire-at><entry><content>content_ea8h630207</content></entry></data>

2020-09-18 02:07:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 09:07:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-18 02:07:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8f87d4fc-68bb-4a46-be5c-a88a3eaff9d7</value></item-id></result>

2020-09-18 02:07:20 | contains: true

2020-09-18 02:07:28 | [Mutex] waiting for: [user_regular727hni0202@test-domain.com:message:received:content_ea8h630207]

2020-09-18 02:07:28 | [Mutex] waiting for: [user_regular727hni0202@test-domain.com:message:received:content_ea8h630207]

2020-09-18 02:07:28 | [Mutex] waiting for: [user_regular727hni0202@test-domain.com:message:received:content_ea8h630207]

2020-09-18 02:07:43 | [Mutex] timeout. Not received [user_regular727hni0202@test-domain.com:message:received:content_ea8h630207]

2020-09-18 02:07:43 | [Mutex] received everything.

2020-09-18 02:07:43 | [Mutex] isItemNotified: user_regular727hni0202@test-domain.com:message:received:content_ea8h630207 :: false

2020-09-18 02:07:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ea8h630207 :: true