Generated by TestNG with ReportNG at 07:25 CLST on viernes 16 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,344s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43,566s
2022-12-16 07:42:10 |

2022-12-16 07:42:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-12-16 07:42:10 | ------------------------------------

2022-12-16 07:42:10 | [Mutex] isItemNotified: node_w4zvvv0204:exists :: false

2022-12-16 07:42:10 | [Mutex] waiting for: [node_w4zvvv0204:create_node]

2022-12-16 07:42:10 | [Mutex] received everything.

2022-12-16 07:42:10 | [Mutex] isItemNotified: node_w4zvvv0204:create_node:success :: true

2022-12-16 07:42:10 | [Mutex] waiting for: [node_w4zvvv0204:subscribe_node]

2022-12-16 07:42:10 | [Mutex] waiting for: [node_w4zvvv0204:subscribe_node]

2022-12-16 07:42:10 | [Mutex] received everything.

2022-12-16 07:42:10 | [Mutex] isItemNotified: node_w4zvvv0204:subscribe_node:success :: true

2022-12-16 07:42:10 |


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


2022-12-16 07:42:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 07:42:10 | command: <data><node>node_w4zvvv0204</node><entry><content>content_cdnrf70205</content></entry></data>

2022-12-16 07:42:10 | target: http://localhost:8088

2022-12-16 07:42:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-16 07:42:10 | entity: <data><node>node_w4zvvv0204</node><entry><content>content_cdnrf70205</content></entry></data>

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

2022-12-16 07:42:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d560579-96da-4c21-a4f0-456e8596540e</value></item-id></result>

2022-12-16 07:42:10 | contains: true

2022-12-16 07:42:10 | [Mutex] waiting for: [user_regulart37jqd0203@test-domain.com:message:received:content_cdnrf70205]

2022-12-16 07:42:10 | [Mutex] received everything.

2022-12-16 07:42:10 | [Mutex] isItemNotified: user_regulart37jqd0203@test-domain.com:message:received:content_cdnrf70205 :: true

2022-12-16 07:42:10 |


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


2022-12-16 07:42:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 07:42:10 | command: <data><node>node_w4zvvv0204</node><expire-at>2022-12-16T10:42:05Z</expire-at><entry><content>content_ghcysu0206</content></entry></data>

2022-12-16 07:42:10 | target: http://localhost:8088

2022-12-16 07:42:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-16 07:42:10 | entity: <data><node>node_w4zvvv0204</node><expire-at>2022-12-16T10:42:05Z</expire-at><entry><content>content_ghcysu0206</content></entry></data>

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

2022-12-16 07:42:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65504be2-d539-4c67-ac56-1941be7921e3</value></item-id></result>

2022-12-16 07:42:10 | contains: true

2022-12-16 07:42:10 | [Mutex] waiting for: [user_regulart37jqd0203@test-domain.com:message:received:content_ghcysu0206]

2022-12-16 07:42:25 | [Mutex] timeout. Not received [user_regulart37jqd0203@test-domain.com:message:received:content_ghcysu0206]

2022-12-16 07:42:25 | [Mutex] isItemNotified: user_regulart37jqd0203@test-domain.com:message:received:content_ghcysu0206 :: false

2022-12-16 07:42:25 |


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


2022-12-16 07:42:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 07:42:25 | command: <data><node>node_w4zvvv0204</node><entry><content>content_dp2d2h0207</content></entry></data>

2022-12-16 07:42:25 | target: http://localhost:8088

2022-12-16 07:42:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-12-16 07:42:25 | entity: <data><node>node_w4zvvv0204</node><entry><content>content_dp2d2h0207</content></entry></data>

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

2022-12-16 07:42:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1d3d0c89-9223-46cf-aae4-b25f231e0047</value></item-id></result>

2022-12-16 07:42:25 | contains: true

2022-12-16 07:42:31 | [Mutex] received everything.

2022-12-16 07:42:31 | [Mutex] isItemNotified: user_regulart37jqd0203@test-domain.com:message:received:content_dp2d2h0207 :: true

2022-12-16 07:42:31 |


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


2022-12-16 07:42:31 | [Mutex] received everything.

2022-12-16 07:42:31 | [Mutex] isItemNotified: node_w4zvvv0204:subscribe_node:success :: true

2022-12-16 07:42:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-12-16 07:42:31 | command: <data><node>node_w4zvvv0204</node><expire-at>2022-12-16T10:42:36Z</expire-at><entry><content>content_vqddjc0208</content></entry></data>

2022-12-16 07:42:31 | target: http://localhost:8088

2022-12-16 07:42:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-12-16 07:42:31 | entity: <data><node>node_w4zvvv0204</node><expire-at>2022-12-16T10:42:36Z</expire-at><entry><content>content_vqddjc0208</content></entry></data>

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

2022-12-16 07:42:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a0212d92-83f9-48cf-93e0-fb8666ad2013</value></item-id></result>

2022-12-16 07:42:31 | contains: true

2022-12-16 07:42:39 | [Mutex] waiting for: [user_regulart37jqd0203@test-domain.com:message:received:content_vqddjc0208]

2022-12-16 07:42:54 | [Mutex] timeout. Not received [user_regulart37jqd0203@test-domain.com:message:received:content_vqddjc0208]

2022-12-16 07:42:54 | [Mutex] received everything.

2022-12-16 07:42:54 | [Mutex] isItemNotified: user_regulart37jqd0203@test-domain.com:message:received:content_vqddjc0208 :: false

2022-12-16 07:42:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vqddjc0208 :: true