Generated by TestNG with ReportNG at 22:25 PDT on Monday 19 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.542s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.830s
2020-10-19 22:42:07 |

2020-10-19 22:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-19 22:42:07 | ------------------------------------

2020-10-19 22:42:07 | [Mutex] isItemNotified: node_d80ebg0203:exists :: false

2020-10-19 22:42:07 | [Mutex] waiting for: [node_d80ebg0203:create_node]

2020-10-19 22:42:07 | [Mutex] received everything.

2020-10-19 22:42:07 | [Mutex] isItemNotified: node_d80ebg0203:create_node:success :: true

2020-10-19 22:42:07 | [Mutex] waiting for: [node_d80ebg0203:subscribe_node]

2020-10-19 22:42:07 | [Mutex] received everything.

2020-10-19 22:42:07 | [Mutex] isItemNotified: node_d80ebg0203:subscribe_node:success :: true

2020-10-19 22:42:07 |


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


2020-10-19 22:42:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-19 22:42:07 | command: <data><node>node_d80ebg0203</node><entry><content>content_sf5a7c0204</content></entry></data>

2020-10-19 22:42:07 | target: http://localhost:8088

2020-10-19 22:42:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-19 22:42:07 | entity: <data><node>node_d80ebg0203</node><entry><content>content_sf5a7c0204</content></entry></data>

2020-10-19 22:42:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 05:42:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-19 22:42:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5e2da52c-fa3e-46cb-a7c6-46162514b63f</value></item-id></result>

2020-10-19 22:42:07 | contains: true

2020-10-19 22:42:07 | [Mutex] received everything.

2020-10-19 22:42:07 | [Mutex] isItemNotified: user_regulardoye8d0202@test-domain.com:message:received:content_sf5a7c0204 :: true

2020-10-19 22:42:07 |


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


2020-10-19 22:42:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-19 22:42:07 | command: <data><node>node_d80ebg0203</node><expire-at>2020-10-20T05:42:02Z</expire-at><entry><content>content_f1crd30205</content></entry></data>

2020-10-19 22:42:07 | target: http://localhost:8088

2020-10-19 22:42:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-19 22:42:07 | entity: <data><node>node_d80ebg0203</node><expire-at>2020-10-20T05:42:02Z</expire-at><entry><content>content_f1crd30205</content></entry></data>

2020-10-19 22:42:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 05:42:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-19 22:42:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6d74f34c-2e01-4273-9781-7b34a60572de</value></item-id></result>

2020-10-19 22:42:07 | contains: true

2020-10-19 22:42:07 | [Mutex] waiting for: [user_regulardoye8d0202@test-domain.com:message:received:content_f1crd30205]

2020-10-19 22:42:22 | [Mutex] timeout. Not received [user_regulardoye8d0202@test-domain.com:message:received:content_f1crd30205]

2020-10-19 22:42:22 | [Mutex] isItemNotified: user_regulardoye8d0202@test-domain.com:message:received:content_f1crd30205 :: false

2020-10-19 22:42:22 |


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


2020-10-19 22:42:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-19 22:42:22 | command: <data><node>node_d80ebg0203</node><entry><content>content_p4abq50206</content></entry></data>

2020-10-19 22:42:22 | target: http://localhost:8088

2020-10-19 22:42:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-19 22:42:22 | entity: <data><node>node_d80ebg0203</node><entry><content>content_p4abq50206</content></entry></data>

2020-10-19 22:42:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 05:42:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-19 22:42:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e51084c6-274a-4ed9-9117-e861368c70cd</value></item-id></result>

2020-10-19 22:42:22 | contains: true

2020-10-19 22:42:27 | [Mutex] waiting for: [user_regulardoye8d0202@test-domain.com:message:received:content_p4abq50206]

2020-10-19 22:42:27 | [Mutex] waiting for: [user_regulardoye8d0202@test-domain.com:message:received:content_p4abq50206]

2020-10-19 22:42:27 | [Mutex] received everything.

2020-10-19 22:42:27 | [Mutex] isItemNotified: user_regulardoye8d0202@test-domain.com:message:received:content_p4abq50206 :: true

2020-10-19 22:42:27 |


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


2020-10-19 22:42:27 | [Mutex] received everything.

2020-10-19 22:42:27 | [Mutex] isItemNotified: node_d80ebg0203:subscribe_node:success :: true

2020-10-19 22:42:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-19 22:42:27 | command: <data><node>node_d80ebg0203</node><expire-at>2020-10-20T05:42:32Z</expire-at><entry><content>content_htoj5i0207</content></entry></data>

2020-10-19 22:42:27 | target: http://localhost:8088

2020-10-19 22:42:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-19 22:42:27 | entity: <data><node>node_d80ebg0203</node><expire-at>2020-10-20T05:42:32Z</expire-at><entry><content>content_htoj5i0207</content></entry></data>

2020-10-19 22:42:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 05:42:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-19 22:42:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0d2edda7-f0fc-481a-a9f6-0bf9c1166c88</value></item-id></result>

2020-10-19 22:42:28 | contains: true

2020-10-19 22:42:36 | [Mutex] waiting for: [user_regulardoye8d0202@test-domain.com:message:received:content_htoj5i0207]

2020-10-19 22:42:36 | [Mutex] waiting for: [user_regulardoye8d0202@test-domain.com:message:received:content_htoj5i0207]

2020-10-19 22:42:51 | [Mutex] timeout. Not received [user_regulardoye8d0202@test-domain.com:message:received:content_htoj5i0207]

2020-10-19 22:42:51 | [Mutex] received everything.

2020-10-19 22:42:51 | [Mutex] isItemNotified: user_regulardoye8d0202@test-domain.com:message:received:content_htoj5i0207 :: false

2020-10-19 22:42:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_htoj5i0207 :: true