Generated by TestNG with ReportNG at 02:19 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.041s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.716s
2020-09-18 02:36:28 |

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

2020-09-18 02:36:28 | ------------------------------------

2020-09-18 02:36:28 | [Mutex] isItemNotified: node_3vgchm0203:exists :: false

2020-09-18 02:36:28 | [Mutex] waiting for: [node_3vgchm0203:create_node]

2020-09-18 02:36:28 | [Mutex] received everything.

2020-09-18 02:36:28 | [Mutex] isItemNotified: node_3vgchm0203:create_node:success :: true

2020-09-18 02:36:28 | [Mutex] waiting for: [node_3vgchm0203:subscribe_node]

2020-09-18 02:36:28 | [Mutex] waiting for: [node_3vgchm0203:subscribe_node]

2020-09-18 02:36:28 | [Mutex] received everything.

2020-09-18 02:36:28 | [Mutex] isItemNotified: node_3vgchm0203:subscribe_node:success :: true

2020-09-18 02:36:28 |


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


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

2020-09-18 02:36:28 | command: <data><node>node_3vgchm0203</node><entry><content>content_td49ha0204</content></entry></data>

2020-09-18 02:36:28 | target: http://localhost:8088

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

2020-09-18 02:36:28 | entity: <data><node>node_3vgchm0203</node><entry><content>content_td49ha0204</content></entry></data>

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

2020-09-18 02:36:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>323509da-554a-4e72-9ff1-657a918c6c00</value></item-id></result>

2020-09-18 02:36:28 | contains: true

2020-09-18 02:36:28 | [Mutex] received everything.

2020-09-18 02:36:28 | [Mutex] isItemNotified: user_regularl9bvtm0202@test-domain.com:message:received:content_td49ha0204 :: true

2020-09-18 02:36:28 |


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


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

2020-09-18 02:36:28 | command: <data><node>node_3vgchm0203</node><expire-at>2020-09-18T09:36:23Z</expire-at><entry><content>content_yewzvq0205</content></entry></data>

2020-09-18 02:36:28 | target: http://localhost:8088

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

2020-09-18 02:36:28 | entity: <data><node>node_3vgchm0203</node><expire-at>2020-09-18T09:36:23Z</expire-at><entry><content>content_yewzvq0205</content></entry></data>

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

2020-09-18 02:36:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55505348-7f6e-4355-844f-d11848d3d3e9</value></item-id></result>

2020-09-18 02:36:28 | contains: true

2020-09-18 02:36:28 | [Mutex] waiting for: [user_regularl9bvtm0202@test-domain.com:message:received:content_yewzvq0205]

2020-09-18 02:36:43 | [Mutex] timeout. Not received [user_regularl9bvtm0202@test-domain.com:message:received:content_yewzvq0205]

2020-09-18 02:36:43 | [Mutex] isItemNotified: user_regularl9bvtm0202@test-domain.com:message:received:content_yewzvq0205 :: false

2020-09-18 02:36:43 |


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


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

2020-09-18 02:36:43 | command: <data><node>node_3vgchm0203</node><entry><content>content_h6xise0206</content></entry></data>

2020-09-18 02:36:43 | target: http://localhost:8088

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

2020-09-18 02:36:43 | entity: <data><node>node_3vgchm0203</node><entry><content>content_h6xise0206</content></entry></data>

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

2020-09-18 02:36:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f920c8d4-78bf-4e19-ab2f-8058497ad046</value></item-id></result>

2020-09-18 02:36:43 | contains: true

2020-09-18 02:36:48 | [Mutex] waiting for: [user_regularl9bvtm0202@test-domain.com:message:received:content_h6xise0206]

2020-09-18 02:36:48 | [Mutex] waiting for: [user_regularl9bvtm0202@test-domain.com:message:received:content_h6xise0206]

2020-09-18 02:36:48 | [Mutex] received everything.

2020-09-18 02:36:48 | [Mutex] isItemNotified: user_regularl9bvtm0202@test-domain.com:message:received:content_h6xise0206 :: true

2020-09-18 02:36:48 |


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


2020-09-18 02:36:48 | [Mutex] received everything.

2020-09-18 02:36:48 | [Mutex] isItemNotified: node_3vgchm0203:subscribe_node:success :: true

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

2020-09-18 02:36:48 | command: <data><node>node_3vgchm0203</node><expire-at>2020-09-18T09:36:53Z</expire-at><entry><content>content_ccgmu20207</content></entry></data>

2020-09-18 02:36:48 | target: http://localhost:8088

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

2020-09-18 02:36:48 | entity: <data><node>node_3vgchm0203</node><expire-at>2020-09-18T09:36:53Z</expire-at><entry><content>content_ccgmu20207</content></entry></data>

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

2020-09-18 02:36:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>56731024-9ca0-480e-8f1d-f64e2b713368</value></item-id></result>

2020-09-18 02:36:48 | contains: true

2020-09-18 02:36:56 | [Mutex] waiting for: [user_regularl9bvtm0202@test-domain.com:message:received:content_ccgmu20207]

2020-09-18 02:36:56 | [Mutex] waiting for: [user_regularl9bvtm0202@test-domain.com:message:received:content_ccgmu20207]

2020-09-18 02:36:56 | [Mutex] waiting for: [user_regularl9bvtm0202@test-domain.com:message:received:content_ccgmu20207]

2020-09-18 02:37:11 | [Mutex] timeout. Not received [user_regularl9bvtm0202@test-domain.com:message:received:content_ccgmu20207]

2020-09-18 02:37:11 | [Mutex] received everything.

2020-09-18 02:37:11 | [Mutex] isItemNotified: user_regularl9bvtm0202@test-domain.com:message:received:content_ccgmu20207 :: false

2020-09-18 02:37:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ccgmu20207 :: true