Generated by TestNG with ReportNG at 22:30 PDT on Wednesday 09 September 2020
root@9b315bf73b73 / 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.313s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.619s
2020-09-09 22:45:40 |

2020-09-09 22:45:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-09 22:45:40 | ------------------------------------

2020-09-09 22:45:40 | [Mutex] isItemNotified: node_bnd59w0203:exists :: false

2020-09-09 22:45:40 | [Mutex] waiting for: [node_bnd59w0203:create_node]

2020-09-09 22:45:40 | [Mutex] received everything.

2020-09-09 22:45:40 | [Mutex] isItemNotified: node_bnd59w0203:create_node:success :: true

2020-09-09 22:45:40 | [Mutex] waiting for: [node_bnd59w0203:subscribe_node]

2020-09-09 22:45:40 | [Mutex] waiting for: [node_bnd59w0203:subscribe_node]

2020-09-09 22:45:40 | [Mutex] received everything.

2020-09-09 22:45:40 | [Mutex] isItemNotified: node_bnd59w0203:subscribe_node:success :: true

2020-09-09 22:45:40 |


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


2020-09-09 22:45:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-09 22:45:40 | command: <data><node>node_bnd59w0203</node><entry><content>content_5wnfg90204</content></entry></data>

2020-09-09 22:45:40 | target: http://localhost:8088

2020-09-09 22:45:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-09 22:45:40 | entity: <data><node>node_bnd59w0203</node><entry><content>content_5wnfg90204</content></entry></data>

2020-09-09 22:45:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:45:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-09 22:45:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>89d7680e-fe2e-4591-ad33-3c002e110e25</value></item-id></result>

2020-09-09 22:45:40 | contains: true

2020-09-09 22:45:40 | [Mutex] received everything.

2020-09-09 22:45:40 | [Mutex] isItemNotified: user_regularnzls3d0202@test-domain.com:message:received:content_5wnfg90204 :: true

2020-09-09 22:45:40 |


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


2020-09-09 22:45:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-09 22:45:40 | command: <data><node>node_bnd59w0203</node><expire-at>2020-09-10T05:45:35Z</expire-at><entry><content>content_hwetpp0205</content></entry></data>

2020-09-09 22:45:40 | target: http://localhost:8088

2020-09-09 22:45:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-09 22:45:40 | entity: <data><node>node_bnd59w0203</node><expire-at>2020-09-10T05:45:35Z</expire-at><entry><content>content_hwetpp0205</content></entry></data>

2020-09-09 22:45:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:45:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-09 22:45:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>42e4723a-445d-43d7-8114-67a66b91347b</value></item-id></result>

2020-09-09 22:45:40 | contains: true

2020-09-09 22:45:40 | [Mutex] waiting for: [user_regularnzls3d0202@test-domain.com:message:received:content_hwetpp0205]

2020-09-09 22:45:55 | [Mutex] timeout. Not received [user_regularnzls3d0202@test-domain.com:message:received:content_hwetpp0205]

2020-09-09 22:45:55 | [Mutex] isItemNotified: user_regularnzls3d0202@test-domain.com:message:received:content_hwetpp0205 :: false

2020-09-09 22:45:55 |


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


2020-09-09 22:45:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-09 22:45:55 | command: <data><node>node_bnd59w0203</node><entry><content>content_2x52xu0206</content></entry></data>

2020-09-09 22:45:55 | target: http://localhost:8088

2020-09-09 22:45:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-09 22:45:55 | entity: <data><node>node_bnd59w0203</node><entry><content>content_2x52xu0206</content></entry></data>

2020-09-09 22:45:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:45:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-09 22:45:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f25b938d-b658-4cb7-8e16-8f35f28d068f</value></item-id></result>

2020-09-09 22:45:55 | contains: true

2020-09-09 22:46:00 | [Mutex] waiting for: [user_regularnzls3d0202@test-domain.com:message:received:content_2x52xu0206]

2020-09-09 22:46:00 | [Mutex] waiting for: [user_regularnzls3d0202@test-domain.com:message:received:content_2x52xu0206]

2020-09-09 22:46:00 | [Mutex] received everything.

2020-09-09 22:46:00 | [Mutex] isItemNotified: user_regularnzls3d0202@test-domain.com:message:received:content_2x52xu0206 :: true

2020-09-09 22:46:00 |


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


2020-09-09 22:46:00 | [Mutex] received everything.

2020-09-09 22:46:00 | [Mutex] isItemNotified: node_bnd59w0203:subscribe_node:success :: true

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

2020-09-09 22:46:00 | command: <data><node>node_bnd59w0203</node><expire-at>2020-09-10T05:46:05Z</expire-at><entry><content>content_6xvy6t0207</content></entry></data>

2020-09-09 22:46:00 | target: http://localhost:8088

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

2020-09-09 22:46:00 | entity: <data><node>node_bnd59w0203</node><expire-at>2020-09-10T05:46:05Z</expire-at><entry><content>content_6xvy6t0207</content></entry></data>

2020-09-09 22:46:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:46:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-09 22:46:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b76a3443-7b60-4a18-87e3-507c626cc505</value></item-id></result>

2020-09-09 22:46:00 | contains: true

2020-09-09 22:46:08 | [Mutex] waiting for: [user_regularnzls3d0202@test-domain.com:message:received:content_6xvy6t0207]

2020-09-09 22:46:23 | [Mutex] timeout. Not received [user_regularnzls3d0202@test-domain.com:message:received:content_6xvy6t0207]

2020-09-09 22:46:23 | [Mutex] received everything.

2020-09-09 22:46:23 | [Mutex] isItemNotified: user_regularnzls3d0202@test-domain.com:message:received:content_6xvy6t0207 :: false

2020-09-09 22:46:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6xvy6t0207 :: true