Generated by TestNG with ReportNG at 22:42 PDT on Thursday 30 September 2021
root@f29ef40080b5 / 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.333s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.616s
2021-09-30 22:59:23 |

2021-09-30 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-30 22:59:23 | ------------------------------------

2021-09-30 22:59:23 | [Mutex] isItemNotified: node_m25gui0203:exists :: false

2021-09-30 22:59:23 | [Mutex] waiting for: [node_m25gui0203:create_node]

2021-09-30 22:59:23 | [Mutex] received everything.

2021-09-30 22:59:23 | [Mutex] isItemNotified: node_m25gui0203:create_node:success :: true

2021-09-30 22:59:23 | [Mutex] waiting for: [node_m25gui0203:subscribe_node]

2021-09-30 22:59:23 | [Mutex] waiting for: [node_m25gui0203:subscribe_node]

2021-09-30 22:59:23 | [Mutex] received everything.

2021-09-30 22:59:23 | [Mutex] isItemNotified: node_m25gui0203:subscribe_node:success :: true

2021-09-30 22:59:23 |


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


2021-09-30 22:59:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:59:23 | command: <data><node>node_m25gui0203</node><entry><content>content_rv007d0204</content></entry></data>

2021-09-30 22:59:23 | target: http://localhost:8088

2021-09-30 22:59:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-30 22:59:23 | entity: <data><node>node_m25gui0203</node><entry><content>content_rv007d0204</content></entry></data>

2021-09-30 22:59:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:59:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:59:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4716555c-455e-4e3e-8b45-aeb6d612db2a</value></item-id></result>

2021-09-30 22:59:23 | contains: true

2021-09-30 22:59:23 | [Mutex] received everything.

2021-09-30 22:59:23 | [Mutex] isItemNotified: user_regularlfhoah0202@test-domain.com:message:received:content_rv007d0204 :: true

2021-09-30 22:59:23 |


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


2021-09-30 22:59:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:59:23 | command: <data><node>node_m25gui0203</node><expire-at>2021-10-01T05:59:18Z</expire-at><entry><content>content_l249j20205</content></entry></data>

2021-09-30 22:59:23 | target: http://localhost:8088

2021-09-30 22:59:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-30 22:59:23 | entity: <data><node>node_m25gui0203</node><expire-at>2021-10-01T05:59:18Z</expire-at><entry><content>content_l249j20205</content></entry></data>

2021-09-30 22:59:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:59:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:59:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c0456de-d581-4bcc-b50d-263b2ab65f78</value></item-id></result>

2021-09-30 22:59:23 | contains: true

2021-09-30 22:59:23 | [Mutex] waiting for: [user_regularlfhoah0202@test-domain.com:message:received:content_l249j20205]

2021-09-30 22:59:38 | [Mutex] timeout. Not received [user_regularlfhoah0202@test-domain.com:message:received:content_l249j20205]

2021-09-30 22:59:38 | [Mutex] isItemNotified: user_regularlfhoah0202@test-domain.com:message:received:content_l249j20205 :: false

2021-09-30 22:59:38 |


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


2021-09-30 22:59:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:59:38 | command: <data><node>node_m25gui0203</node><entry><content>content_q11d2y0206</content></entry></data>

2021-09-30 22:59:38 | target: http://localhost:8088

2021-09-30 22:59:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-30 22:59:38 | entity: <data><node>node_m25gui0203</node><entry><content>content_q11d2y0206</content></entry></data>

2021-09-30 22:59:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:59:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:59:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2d947dbc-1f21-4f3d-89fa-57711c9ed0a2</value></item-id></result>

2021-09-30 22:59:38 | contains: true

2021-09-30 22:59:43 | [Mutex] waiting for: [user_regularlfhoah0202@test-domain.com:message:received:content_q11d2y0206]

2021-09-30 22:59:43 | [Mutex] received everything.

2021-09-30 22:59:43 | [Mutex] isItemNotified: user_regularlfhoah0202@test-domain.com:message:received:content_q11d2y0206 :: true

2021-09-30 22:59:43 |


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


2021-09-30 22:59:43 | [Mutex] received everything.

2021-09-30 22:59:43 | [Mutex] isItemNotified: node_m25gui0203:subscribe_node:success :: true

2021-09-30 22:59:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-30 22:59:43 | command: <data><node>node_m25gui0203</node><expire-at>2021-10-01T05:59:48Z</expire-at><entry><content>content_lo41yh0207</content></entry></data>

2021-09-30 22:59:43 | target: http://localhost:8088

2021-09-30 22:59:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-30 22:59:43 | entity: <data><node>node_m25gui0203</node><expire-at>2021-10-01T05:59:48Z</expire-at><entry><content>content_lo41yh0207</content></entry></data>

2021-09-30 22:59:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Oct 2021 05:59:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-30 22:59:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>250de45e-2a77-4e9a-bb1b-78c91b945fb8</value></item-id></result>

2021-09-30 22:59:44 | contains: true

2021-09-30 22:59:52 | [Mutex] waiting for: [user_regularlfhoah0202@test-domain.com:message:received:content_lo41yh0207]

2021-09-30 23:00:07 | [Mutex] timeout. Not received [user_regularlfhoah0202@test-domain.com:message:received:content_lo41yh0207]

2021-09-30 23:00:07 | [Mutex] received everything.

2021-09-30 23:00:07 | [Mutex] isItemNotified: user_regularlfhoah0202@test-domain.com:message:received:content_lo41yh0207 :: false

2021-09-30 23:00:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lo41yh0207 :: true