Generated by TestNG with ReportNG at 23:45 CLST on jueves 15 diciembre 2022
wojtek@atlantiscity.local / Java 17.0.5 (Eclipse Adoptium) / Mac OS X 13.0.1 (aarch64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44,108s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43,474s
2022-12-16 00:00:53 |

2022-12-16 00:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-16 00:00:53 | ------------------------------------

2022-12-16 00:00:53 | [Mutex] isItemNotified: node_rrfcqt0204:exists :: false

2022-12-16 00:00:53 | [Mutex] waiting for: [node_rrfcqt0204:create_node]

2022-12-16 00:00:53 | [Mutex] received everything.

2022-12-16 00:00:53 | [Mutex] isItemNotified: node_rrfcqt0204:create_node:success :: true

2022-12-16 00:00:53 | [Mutex] waiting for: [node_rrfcqt0204:subscribe_node]

2022-12-16 00:00:53 | [Mutex] received everything.

2022-12-16 00:00:53 | [Mutex] isItemNotified: node_rrfcqt0204:subscribe_node:success :: true

2022-12-16 00:00:53 |


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


2022-12-16 00:00:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 00:00:53 | command: <data><node>node_rrfcqt0204</node><entry><content>content_outvs60205</content></entry></data>

2022-12-16 00:00:53 | target: http://localhost:8088

2022-12-16 00:00:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-16 00:00:53 | entity: <data><node>node_rrfcqt0204</node><entry><content>content_outvs60205</content></entry></data>

2022-12-16 00:00:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 03:00:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-16 00:00:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b2d5d167-9644-4bc2-80d1-6ed1b56caeae</value></item-id></result>

2022-12-16 00:00:53 | contains: true

2022-12-16 00:00:53 | [Mutex] waiting for: [user_regularok5zha0203@test-domain.com:message:received:content_outvs60205]

2022-12-16 00:00:53 | [Mutex] received everything.

2022-12-16 00:00:53 | [Mutex] isItemNotified: user_regularok5zha0203@test-domain.com:message:received:content_outvs60205 :: true

2022-12-16 00:00:53 |


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


2022-12-16 00:00:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 00:00:53 | command: <data><node>node_rrfcqt0204</node><expire-at>2022-12-16T03:00:48Z</expire-at><entry><content>content_brvxoq0206</content></entry></data>

2022-12-16 00:00:53 | target: http://localhost:8088

2022-12-16 00:00:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-16 00:00:53 | entity: <data><node>node_rrfcqt0204</node><expire-at>2022-12-16T03:00:48Z</expire-at><entry><content>content_brvxoq0206</content></entry></data>

2022-12-16 00:00:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 03:00:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-16 00:00:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c9f78c78-9ee0-499d-a547-1c10e9a2f9ad</value></item-id></result>

2022-12-16 00:00:53 | contains: true

2022-12-16 00:00:53 | [Mutex] waiting for: [user_regularok5zha0203@test-domain.com:message:received:content_brvxoq0206]

2022-12-16 00:01:08 | [Mutex] timeout. Not received [user_regularok5zha0203@test-domain.com:message:received:content_brvxoq0206]

2022-12-16 00:01:08 | [Mutex] isItemNotified: user_regularok5zha0203@test-domain.com:message:received:content_brvxoq0206 :: false

2022-12-16 00:01:08 |


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


2022-12-16 00:01:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 00:01:08 | command: <data><node>node_rrfcqt0204</node><entry><content>content_vodnm70207</content></entry></data>

2022-12-16 00:01:08 | target: http://localhost:8088

2022-12-16 00:01:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-16 00:01:08 | entity: <data><node>node_rrfcqt0204</node><entry><content>content_vodnm70207</content></entry></data>

2022-12-16 00:01:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 03:01:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-16 00:01:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ffed8602-ac8c-4c14-9aef-5fbc03e0b40c</value></item-id></result>

2022-12-16 00:01:08 | contains: true

2022-12-16 00:01:13 | [Mutex] received everything.

2022-12-16 00:01:13 | [Mutex] isItemNotified: user_regularok5zha0203@test-domain.com:message:received:content_vodnm70207 :: true

2022-12-16 00:01:13 |


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


2022-12-16 00:01:13 | [Mutex] received everything.

2022-12-16 00:01:13 | [Mutex] isItemNotified: node_rrfcqt0204:subscribe_node:success :: true

2022-12-16 00:01:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 00:01:13 | command: <data><node>node_rrfcqt0204</node><expire-at>2022-12-16T03:01:18Z</expire-at><entry><content>content_zprvj0208</content></entry></data>

2022-12-16 00:01:13 | target: http://localhost:8088

2022-12-16 00:01:13 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-12-16 00:01:13 | entity: <data><node>node_rrfcqt0204</node><expire-at>2022-12-16T03:01:18Z</expire-at><entry><content>content_zprvj0208</content></entry></data>

2022-12-16 00:01:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 03:01:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-12-16 00:01:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6e3d9a18-8116-4c60-86a8-74410886e72c</value></item-id></result>

2022-12-16 00:01:13 | contains: true

2022-12-16 00:01:21 | [Mutex] waiting for: [user_regularok5zha0203@test-domain.com:message:received:content_zprvj0208]

2022-12-16 00:01:36 | [Mutex] timeout. Not received [user_regularok5zha0203@test-domain.com:message:received:content_zprvj0208]

2022-12-16 00:01:36 | [Mutex] received everything.

2022-12-16 00:01:36 | [Mutex] isItemNotified: user_regularok5zha0203@test-domain.com:message:received:content_zprvj0208 :: false

2022-12-16 00:01:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_zprvj0208 :: true