Generated by TestNG with ReportNG at 22:36 PDT on Monday 19 October 2020
root@43fec6d4badf / 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 : 46.020s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.756s
2020-10-19 22:53:08 |

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

2020-10-19 22:53:08 | ------------------------------------

2020-10-19 22:53:08 | [Mutex] isItemNotified: node_nll51z0203:exists :: false

2020-10-19 22:53:08 | [Mutex] waiting for: [node_nll51z0203:create_node]

2020-10-19 22:53:08 | [Mutex] received everything.

2020-10-19 22:53:08 | [Mutex] isItemNotified: node_nll51z0203:create_node:success :: true

2020-10-19 22:53:08 | [Mutex] waiting for: [node_nll51z0203:subscribe_node]

2020-10-19 22:53:08 | [Mutex] waiting for: [node_nll51z0203:subscribe_node]

2020-10-19 22:53:08 | [Mutex] received everything.

2020-10-19 22:53:08 | [Mutex] isItemNotified: node_nll51z0203:subscribe_node:success :: true

2020-10-19 22:53:08 |


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


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

2020-10-19 22:53:08 | command: <data><node>node_nll51z0203</node><entry><content>content_u0zhrq0204</content></entry></data>

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

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

2020-10-19 22:53:08 | entity: <data><node>node_nll51z0203</node><entry><content>content_u0zhrq0204</content></entry></data>

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

2020-10-19 22:53:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a758e56-39cb-49ce-b6a7-b74d0648fffe</value></item-id></result>

2020-10-19 22:53:08 | contains: true

2020-10-19 22:53:08 | [Mutex] received everything.

2020-10-19 22:53:08 | [Mutex] isItemNotified: user_regularnwfmje0202@test-domain.com:message:received:content_u0zhrq0204 :: true

2020-10-19 22:53:08 |


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


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

2020-10-19 22:53:08 | command: <data><node>node_nll51z0203</node><expire-at>2020-10-20T05:53:03Z</expire-at><entry><content>content_hkmher0205</content></entry></data>

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

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

2020-10-19 22:53:08 | entity: <data><node>node_nll51z0203</node><expire-at>2020-10-20T05:53:03Z</expire-at><entry><content>content_hkmher0205</content></entry></data>

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

2020-10-19 22:53:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>90dc5ab7-58de-46f7-9cf7-ca369bb1001c</value></item-id></result>

2020-10-19 22:53:08 | contains: true

2020-10-19 22:53:08 | [Mutex] waiting for: [user_regularnwfmje0202@test-domain.com:message:received:content_hkmher0205]

2020-10-19 22:53:23 | [Mutex] timeout. Not received [user_regularnwfmje0202@test-domain.com:message:received:content_hkmher0205]

2020-10-19 22:53:23 | [Mutex] isItemNotified: user_regularnwfmje0202@test-domain.com:message:received:content_hkmher0205 :: false

2020-10-19 22:53:23 |


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


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

2020-10-19 22:53:23 | command: <data><node>node_nll51z0203</node><entry><content>content_av261r0206</content></entry></data>

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

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

2020-10-19 22:53:23 | entity: <data><node>node_nll51z0203</node><entry><content>content_av261r0206</content></entry></data>

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

2020-10-19 22:53:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>26c3537e-9807-47cd-85d8-58c2f19fcd91</value></item-id></result>

2020-10-19 22:53:23 | contains: true

2020-10-19 22:53:29 | [Mutex] waiting for: [user_regularnwfmje0202@test-domain.com:message:received:content_av261r0206]

2020-10-19 22:53:29 | [Mutex] received everything.

2020-10-19 22:53:29 | [Mutex] isItemNotified: user_regularnwfmje0202@test-domain.com:message:received:content_av261r0206 :: true

2020-10-19 22:53:29 |


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


2020-10-19 22:53:29 | [Mutex] received everything.

2020-10-19 22:53:29 | [Mutex] isItemNotified: node_nll51z0203:subscribe_node:success :: true

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

2020-10-19 22:53:29 | command: <data><node>node_nll51z0203</node><expire-at>2020-10-20T05:53:34Z</expire-at><entry><content>content_l0q3cr0207</content></entry></data>

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

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

2020-10-19 22:53:29 | entity: <data><node>node_nll51z0203</node><expire-at>2020-10-20T05:53:34Z</expire-at><entry><content>content_l0q3cr0207</content></entry></data>

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

2020-10-19 22:53:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>20f80577-564d-40cb-b498-eb626d36cbab</value></item-id></result>

2020-10-19 22:53:29 | contains: true

2020-10-19 22:53:37 | [Mutex] waiting for: [user_regularnwfmje0202@test-domain.com:message:received:content_l0q3cr0207]

2020-10-19 22:53:52 | [Mutex] timeout. Not received [user_regularnwfmje0202@test-domain.com:message:received:content_l0q3cr0207]

2020-10-19 22:53:52 | [Mutex] received everything.

2020-10-19 22:53:52 | [Mutex] isItemNotified: user_regularnwfmje0202@test-domain.com:message:received:content_l0q3cr0207 :: false

2020-10-19 22:53:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l0q3cr0207 :: true