Generated by TestNG with ReportNG at 21:29 PST on Sunday 16 January 2022
root@785cf647a4ab / 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.657s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.776s
2022-01-16 21:45:51 |

2022-01-16 21:45:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-01-16 21:45:51 | ------------------------------------

2022-01-16 21:45:51 | [Mutex] isItemNotified: node_jwce7p0203:exists :: false

2022-01-16 21:45:51 | [Mutex] waiting for: [node_jwce7p0203:create_node]

2022-01-16 21:45:51 | [Mutex] received everything.

2022-01-16 21:45:51 | [Mutex] isItemNotified: node_jwce7p0203:create_node:success :: true

2022-01-16 21:45:51 | [Mutex] waiting for: [node_jwce7p0203:subscribe_node]

2022-01-16 21:45:51 | [Mutex] received everything.

2022-01-16 21:45:51 | [Mutex] isItemNotified: node_jwce7p0203:subscribe_node:success :: true

2022-01-16 21:45:51 |


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


2022-01-16 21:45:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-16 21:45:51 | command: <data><node>node_jwce7p0203</node><entry><content>content_xwuy5u0204</content></entry></data>

2022-01-16 21:45:51 | target: http://localhost:8088

2022-01-16 21:45:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-16 21:45:51 | entity: <data><node>node_jwce7p0203</node><entry><content>content_xwuy5u0204</content></entry></data>

2022-01-16 21:45:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:45:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-16 21:45:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8fb56307-1d73-4f64-862e-7b5f41ee2fb0</value></item-id></result>

2022-01-16 21:45:51 | contains: true

2022-01-16 21:45:51 | [Mutex] received everything.

2022-01-16 21:45:51 | [Mutex] isItemNotified: user_regularl958ns0202@test-domain.com:message:received:content_xwuy5u0204 :: true

2022-01-16 21:45:51 |


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


2022-01-16 21:45:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-16 21:45:51 | command: <data><node>node_jwce7p0203</node><expire-at>2022-01-17T05:45:46Z</expire-at><entry><content>content_b22zht0205</content></entry></data>

2022-01-16 21:45:51 | target: http://localhost:8088

2022-01-16 21:45:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-01-16 21:45:51 | entity: <data><node>node_jwce7p0203</node><expire-at>2022-01-17T05:45:46Z</expire-at><entry><content>content_b22zht0205</content></entry></data>

2022-01-16 21:45:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:45:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-16 21:45:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>68e810ae-4f57-407f-8cb5-67f8050d0166</value></item-id></result>

2022-01-16 21:45:51 | contains: true

2022-01-16 21:45:51 | [Mutex] waiting for: [user_regularl958ns0202@test-domain.com:message:received:content_b22zht0205]

2022-01-16 21:46:06 | [Mutex] timeout. Not received [user_regularl958ns0202@test-domain.com:message:received:content_b22zht0205]

2022-01-16 21:46:06 | [Mutex] isItemNotified: user_regularl958ns0202@test-domain.com:message:received:content_b22zht0205 :: false

2022-01-16 21:46:06 |


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


2022-01-16 21:46:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-16 21:46:06 | command: <data><node>node_jwce7p0203</node><entry><content>content_dkgl6k0206</content></entry></data>

2022-01-16 21:46:06 | target: http://localhost:8088

2022-01-16 21:46:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-16 21:46:06 | entity: <data><node>node_jwce7p0203</node><entry><content>content_dkgl6k0206</content></entry></data>

2022-01-16 21:46:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:46:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-16 21:46:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bb632018-7dfa-43d0-af9f-d5f511c615e5</value></item-id></result>

2022-01-16 21:46:06 | contains: true

2022-01-16 21:46:12 | [Mutex] waiting for: [user_regularl958ns0202@test-domain.com:message:received:content_dkgl6k0206]

2022-01-16 21:46:12 | [Mutex] waiting for: [user_regularl958ns0202@test-domain.com:message:received:content_dkgl6k0206]

2022-01-16 21:46:12 | [Mutex] received everything.

2022-01-16 21:46:12 | [Mutex] isItemNotified: user_regularl958ns0202@test-domain.com:message:received:content_dkgl6k0206 :: true

2022-01-16 21:46:12 |


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


2022-01-16 21:46:12 | [Mutex] received everything.

2022-01-16 21:46:12 | [Mutex] isItemNotified: node_jwce7p0203:subscribe_node:success :: true

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

2022-01-16 21:46:12 | command: <data><node>node_jwce7p0203</node><expire-at>2022-01-17T05:46:17Z</expire-at><entry><content>content_p1vp830207</content></entry></data>

2022-01-16 21:46:12 | target: http://localhost:8088

2022-01-16 21:46:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-01-16 21:46:12 | entity: <data><node>node_jwce7p0203</node><expire-at>2022-01-17T05:46:17Z</expire-at><entry><content>content_p1vp830207</content></entry></data>

2022-01-16 21:46:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:46:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-16 21:46:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e03b83f6-c036-491e-a113-66df40e227e6</value></item-id></result>

2022-01-16 21:46:12 | contains: true

2022-01-16 21:46:20 | [Mutex] waiting for: [user_regularl958ns0202@test-domain.com:message:received:content_p1vp830207]

2022-01-16 21:46:20 | [Mutex] waiting for: [user_regularl958ns0202@test-domain.com:message:received:content_p1vp830207]

2022-01-16 21:46:35 | [Mutex] timeout. Not received [user_regularl958ns0202@test-domain.com:message:received:content_p1vp830207]

2022-01-16 21:46:35 | [Mutex] received everything.

2022-01-16 21:46:35 | [Mutex] isItemNotified: user_regularl958ns0202@test-domain.com:message:received:content_p1vp830207 :: false

2022-01-16 21:46:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p1vp830207 :: true