Generated by TestNG with ReportNG at 00:20 PDT on Saturday 19 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.621s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.764s
2020-09-19 00:35:09 |

2020-09-19 00:35:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-19 00:35:09 | ------------------------------------

2020-09-19 00:35:09 | [Mutex] isItemNotified: node_2td8j30203:exists :: false

2020-09-19 00:35:09 | [Mutex] waiting for: [node_2td8j30203:create_node]

2020-09-19 00:35:09 | [Mutex] received everything.

2020-09-19 00:35:09 | [Mutex] isItemNotified: node_2td8j30203:create_node:success :: true

2020-09-19 00:35:09 | [Mutex] waiting for: [node_2td8j30203:subscribe_node]

2020-09-19 00:35:09 | [Mutex] waiting for: [node_2td8j30203:subscribe_node]

2020-09-19 00:35:09 | [Mutex] received everything.

2020-09-19 00:35:09 | [Mutex] isItemNotified: node_2td8j30203:subscribe_node:success :: true

2020-09-19 00:35:09 |


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


2020-09-19 00:35:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 00:35:09 | command: <data><node>node_2td8j30203</node><entry><content>content_dibto80204</content></entry></data>

2020-09-19 00:35:09 | target: http://localhost:8088

2020-09-19 00:35:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-19 00:35:09 | entity: <data><node>node_2td8j30203</node><entry><content>content_dibto80204</content></entry></data>

2020-09-19 00:35:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:35:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 00:35:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>84d4982d-601e-4c56-a4e5-bdb4adb8cd69</value></item-id></result>

2020-09-19 00:35:09 | contains: true

2020-09-19 00:35:09 | [Mutex] waiting for: [user_regular1nm2yp0202@test-domain.com:message:received:content_dibto80204]

2020-09-19 00:35:09 | [Mutex] received everything.

2020-09-19 00:35:09 | [Mutex] isItemNotified: user_regular1nm2yp0202@test-domain.com:message:received:content_dibto80204 :: true

2020-09-19 00:35:09 |


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


2020-09-19 00:35:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 00:35:09 | command: <data><node>node_2td8j30203</node><expire-at>2020-09-19T07:35:04Z</expire-at><entry><content>content_hnm35u0205</content></entry></data>

2020-09-19 00:35:09 | target: http://localhost:8088

2020-09-19 00:35:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-19 00:35:09 | entity: <data><node>node_2td8j30203</node><expire-at>2020-09-19T07:35:04Z</expire-at><entry><content>content_hnm35u0205</content></entry></data>

2020-09-19 00:35:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:35:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 00:35:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fe79a45f-99db-453e-b4cc-52fca8eef455</value></item-id></result>

2020-09-19 00:35:09 | contains: true

2020-09-19 00:35:09 | [Mutex] waiting for: [user_regular1nm2yp0202@test-domain.com:message:received:content_hnm35u0205]

2020-09-19 00:35:24 | [Mutex] timeout. Not received [user_regular1nm2yp0202@test-domain.com:message:received:content_hnm35u0205]

2020-09-19 00:35:24 | [Mutex] isItemNotified: user_regular1nm2yp0202@test-domain.com:message:received:content_hnm35u0205 :: false

2020-09-19 00:35:24 |


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


2020-09-19 00:35:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 00:35:24 | command: <data><node>node_2td8j30203</node><entry><content>content_1ejgp00206</content></entry></data>

2020-09-19 00:35:24 | target: http://localhost:8088

2020-09-19 00:35:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-19 00:35:24 | entity: <data><node>node_2td8j30203</node><entry><content>content_1ejgp00206</content></entry></data>

2020-09-19 00:35:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:35:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 00:35:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cd277bb8-c667-4de5-abae-1a3b5a86aa85</value></item-id></result>

2020-09-19 00:35:24 | contains: true

2020-09-19 00:35:29 | [Mutex] waiting for: [user_regular1nm2yp0202@test-domain.com:message:received:content_1ejgp00206]

2020-09-19 00:35:29 | [Mutex] received everything.

2020-09-19 00:35:29 | [Mutex] isItemNotified: user_regular1nm2yp0202@test-domain.com:message:received:content_1ejgp00206 :: true

2020-09-19 00:35:29 |


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


2020-09-19 00:35:29 | [Mutex] received everything.

2020-09-19 00:35:29 | [Mutex] isItemNotified: node_2td8j30203:subscribe_node:success :: true

2020-09-19 00:35:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-19 00:35:29 | command: <data><node>node_2td8j30203</node><expire-at>2020-09-19T07:35:34Z</expire-at><entry><content>content_da0pvo0207</content></entry></data>

2020-09-19 00:35:29 | target: http://localhost:8088

2020-09-19 00:35:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-19 00:35:29 | entity: <data><node>node_2td8j30203</node><expire-at>2020-09-19T07:35:34Z</expire-at><entry><content>content_da0pvo0207</content></entry></data>

2020-09-19 00:35:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:35:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-19 00:35:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c1aedb7a-7a11-4883-a179-d04d993cb7f1</value></item-id></result>

2020-09-19 00:35:29 | contains: true

2020-09-19 00:35:37 | [Mutex] waiting for: [user_regular1nm2yp0202@test-domain.com:message:received:content_da0pvo0207]

2020-09-19 00:35:37 | [Mutex] waiting for: [user_regular1nm2yp0202@test-domain.com:message:received:content_da0pvo0207]

2020-09-19 00:35:37 | [Mutex] waiting for: [user_regular1nm2yp0202@test-domain.com:message:received:content_da0pvo0207]

2020-09-19 00:35:52 | [Mutex] timeout. Not received [user_regular1nm2yp0202@test-domain.com:message:received:content_da0pvo0207]

2020-09-19 00:35:52 | [Mutex] received everything.

2020-09-19 00:35:52 | [Mutex] isItemNotified: user_regular1nm2yp0202@test-domain.com:message:received:content_da0pvo0207 :: false

2020-09-19 00:35:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_da0pvo0207 :: true