Generated by TestNG with ReportNG at 22:32 PDT on Friday 02 October 2020
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 : 45.174s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.706s
2020-10-02 22:47:23 |

2020-10-02 22:47:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-02 22:47:23 | ------------------------------------

2020-10-02 22:47:23 | [Mutex] isItemNotified: node_ctwdx30203:exists :: false

2020-10-02 22:47:23 | [Mutex] waiting for: [node_ctwdx30203:create_node]

2020-10-02 22:47:23 | [Mutex] received everything.

2020-10-02 22:47:23 | [Mutex] isItemNotified: node_ctwdx30203:create_node:success :: true

2020-10-02 22:47:23 | [Mutex] waiting for: [node_ctwdx30203:subscribe_node]

2020-10-02 22:47:23 | [Mutex] received everything.

2020-10-02 22:47:23 | [Mutex] isItemNotified: node_ctwdx30203:subscribe_node:success :: true

2020-10-02 22:47:23 |


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


2020-10-02 22:47:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-02 22:47:23 | command: <data><node>node_ctwdx30203</node><entry><content>content_x0f8ak0204</content></entry></data>

2020-10-02 22:47:23 | target: http://localhost:8088

2020-10-02 22:47:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-02 22:47:23 | entity: <data><node>node_ctwdx30203</node><entry><content>content_x0f8ak0204</content></entry></data>

2020-10-02 22:47:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:47:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-02 22:47:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>88a79f51-65b7-4855-918e-b3fcb4869301</value></item-id></result>

2020-10-02 22:47:23 | contains: true

2020-10-02 22:47:23 | [Mutex] received everything.

2020-10-02 22:47:23 | [Mutex] isItemNotified: user_regularvarspy0202@test-domain.com:message:received:content_x0f8ak0204 :: true

2020-10-02 22:47:23 |


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


2020-10-02 22:47:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-02 22:47:23 | command: <data><node>node_ctwdx30203</node><expire-at>2020-10-03T05:47:18Z</expire-at><entry><content>content_4q28av0205</content></entry></data>

2020-10-02 22:47:23 | target: http://localhost:8088

2020-10-02 22:47:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-02 22:47:23 | entity: <data><node>node_ctwdx30203</node><expire-at>2020-10-03T05:47:18Z</expire-at><entry><content>content_4q28av0205</content></entry></data>

2020-10-02 22:47:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:47:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-02 22:47:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0da7b7e1-51d8-45a9-b51c-20252926bbe7</value></item-id></result>

2020-10-02 22:47:23 | contains: true

2020-10-02 22:47:23 | [Mutex] waiting for: [user_regularvarspy0202@test-domain.com:message:received:content_4q28av0205]

2020-10-02 22:47:38 | [Mutex] timeout. Not received [user_regularvarspy0202@test-domain.com:message:received:content_4q28av0205]

2020-10-02 22:47:38 | [Mutex] isItemNotified: user_regularvarspy0202@test-domain.com:message:received:content_4q28av0205 :: false

2020-10-02 22:47:38 |


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


2020-10-02 22:47:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-02 22:47:38 | command: <data><node>node_ctwdx30203</node><entry><content>content_tz8kzy0206</content></entry></data>

2020-10-02 22:47:38 | target: http://localhost:8088

2020-10-02 22:47:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-02 22:47:38 | entity: <data><node>node_ctwdx30203</node><entry><content>content_tz8kzy0206</content></entry></data>

2020-10-02 22:47:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:47:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-02 22:47:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b9eeed78-baff-4eb9-a385-24fea99f7f39</value></item-id></result>

2020-10-02 22:47:38 | contains: true

2020-10-02 22:47:43 | [Mutex] waiting for: [user_regularvarspy0202@test-domain.com:message:received:content_tz8kzy0206]

2020-10-02 22:47:43 | [Mutex] received everything.

2020-10-02 22:47:43 | [Mutex] isItemNotified: user_regularvarspy0202@test-domain.com:message:received:content_tz8kzy0206 :: true

2020-10-02 22:47:43 |


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


2020-10-02 22:47:43 | [Mutex] received everything.

2020-10-02 22:47:43 | [Mutex] isItemNotified: node_ctwdx30203:subscribe_node:success :: true

2020-10-02 22:47:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-02 22:47:43 | command: <data><node>node_ctwdx30203</node><expire-at>2020-10-03T05:47:48Z</expire-at><entry><content>content_a4eklf0207</content></entry></data>

2020-10-02 22:47:43 | target: http://localhost:8088

2020-10-02 22:47:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-02 22:47:43 | entity: <data><node>node_ctwdx30203</node><expire-at>2020-10-03T05:47:48Z</expire-at><entry><content>content_a4eklf0207</content></entry></data>

2020-10-02 22:47:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:47:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-02 22:47:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a593582f-6dbc-4b90-9205-59f296e4b47f</value></item-id></result>

2020-10-02 22:47:43 | contains: true

2020-10-02 22:47:51 | [Mutex] waiting for: [user_regularvarspy0202@test-domain.com:message:received:content_a4eklf0207]

2020-10-02 22:47:51 | [Mutex] waiting for: [user_regularvarspy0202@test-domain.com:message:received:content_a4eklf0207]

2020-10-02 22:48:06 | [Mutex] timeout. Not received [user_regularvarspy0202@test-domain.com:message:received:content_a4eklf0207]

2020-10-02 22:48:06 | [Mutex] received everything.

2020-10-02 22:48:06 | [Mutex] isItemNotified: user_regularvarspy0202@test-domain.com:message:received:content_a4eklf0207 :: false

2020-10-02 22:48:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_a4eklf0207 :: true