Generated by TestNG with ReportNG at 20:15 CET on martes 01 marzo 2022
wojtek@atlantiscity.local / Java 11.0.14.1 (Eclipse Adoptium) / Mac OS X 12.2.1 (x86_64)

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

Suites · Log Output

Test duration : 175,974s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 59,124s
2022-03-01 20:33:55 |

2022-03-01 20:33:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-03-01 20:33:55 | ------------------------------------

2022-03-01 20:33:55 | [Mutex] isItemNotified: node_rpvjae0203:exists :: false

2022-03-01 20:33:55 | [Mutex] waiting for: [node_rpvjae0203:create_node]

2022-03-01 20:33:55 | [Mutex] received everything.

2022-03-01 20:33:55 | [Mutex] isItemNotified: node_rpvjae0203:create_node:success :: true

2022-03-01 20:33:55 | [Mutex] waiting for: [node_rpvjae0203:subscribe_node]

2022-03-01 20:33:55 | [Mutex] waiting for: [node_rpvjae0203:subscribe_node]

2022-03-01 20:33:55 | [Mutex] received everything.

2022-03-01 20:33:55 | [Mutex] isItemNotified: node_rpvjae0203:subscribe_node:success :: true

2022-03-01 20:33:55 |


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


2022-03-01 20:33:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-01 20:33:55 | command: <data><node>node_rpvjae0203</node><entry><content>content_evvw7j0204</content></entry></data>

2022-03-01 20:33:55 | target: http://localhost:8088

2022-03-01 20:33:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-01 20:33:55 | entity: <data><node>node_rpvjae0203</node><entry><content>content_evvw7j0204</content></entry></data>

2022-03-01 20:33:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Mar 2022 19:33:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-01 20:33:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fd30352c-c605-4d28-90bd-e37e3f61567e</value></item-id></result>

2022-03-01 20:33:57 | contains: true

2022-03-01 20:33:57 | [Mutex] waiting for: [user_regular9ypys40202@test-domain.com:message:received:content_evvw7j0204]

2022-03-01 20:33:57 | [Mutex] received everything.

2022-03-01 20:33:57 | [Mutex] isItemNotified: user_regular9ypys40202@test-domain.com:message:received:content_evvw7j0204 :: true

2022-03-01 20:33:57 |


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


2022-03-01 20:33:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-01 20:33:57 | command: <data><node>node_rpvjae0203</node><expire-at>2022-03-01T19:33:52Z</expire-at><entry><content>content_8d1wwk0205</content></entry></data>

2022-03-01 20:33:57 | target: http://localhost:8088

2022-03-01 20:33:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-01 20:33:57 | entity: <data><node>node_rpvjae0203</node><expire-at>2022-03-01T19:33:52Z</expire-at><entry><content>content_8d1wwk0205</content></entry></data>

2022-03-01 20:33:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Mar 2022 19:33:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-01 20:33:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>603ecae7-f9e9-4429-93c0-1c31d79f95b9</value></item-id></result>

2022-03-01 20:33:57 | contains: true

2022-03-01 20:33:57 | [Mutex] waiting for: [user_regular9ypys40202@test-domain.com:message:received:content_8d1wwk0205]

2022-03-01 20:34:12 | [Mutex] timeout. Not received [user_regular9ypys40202@test-domain.com:message:received:content_8d1wwk0205]

2022-03-01 20:34:12 | [Mutex] isItemNotified: user_regular9ypys40202@test-domain.com:message:received:content_8d1wwk0205 :: false

2022-03-01 20:34:12 |


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


2022-03-01 20:34:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-01 20:34:12 | command: <data><node>node_rpvjae0203</node><entry><content>content_esxozv0206</content></entry></data>

2022-03-01 20:34:12 | target: http://localhost:8088

2022-03-01 20:34:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-01 20:34:12 | entity: <data><node>node_rpvjae0203</node><entry><content>content_esxozv0206</content></entry></data>

2022-03-01 20:34:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Mar 2022 19:34:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-01 20:34:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9db863cf-dd8c-41c2-a702-f860dd65f767</value></item-id></result>

2022-03-01 20:34:12 | contains: true

2022-03-01 20:34:17 | [Mutex] waiting for: [user_regular9ypys40202@test-domain.com:message:received:content_esxozv0206]

2022-03-01 20:34:17 | [Mutex] waiting for: [user_regular9ypys40202@test-domain.com:message:received:content_esxozv0206]

2022-03-01 20:34:17 | [Mutex] received everything.

2022-03-01 20:34:17 | [Mutex] isItemNotified: user_regular9ypys40202@test-domain.com:message:received:content_esxozv0206 :: true

2022-03-01 20:34:17 |


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


2022-03-01 20:34:17 | [Mutex] received everything.

2022-03-01 20:34:17 | [Mutex] isItemNotified: node_rpvjae0203:subscribe_node:success :: true

2022-03-01 20:34:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-01 20:34:17 | command: <data><node>node_rpvjae0203</node><expire-at>2022-03-01T19:34:22Z</expire-at><entry><content>content_tfoig80207</content></entry></data>

2022-03-01 20:34:17 | target: http://localhost:8088

2022-03-01 20:34:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-01 20:34:17 | entity: <data><node>node_rpvjae0203</node><expire-at>2022-03-01T19:34:22Z</expire-at><entry><content>content_tfoig80207</content></entry></data>

2022-03-01 20:34:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Mar 2022 19:34:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-01 20:34:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a9b98b2-3b40-43e0-b899-0d5a0733ce89</value></item-id></result>

2022-03-01 20:34:24 | contains: true

2022-03-01 20:34:37 | [Mutex] waiting for: [user_regular9ypys40202@test-domain.com:message:received:content_tfoig80207]

2022-03-01 20:34:39 | [Mutex] waiting for: [user_regular9ypys40202@test-domain.com:message:received:content_tfoig80207]

2022-03-01 20:34:39 | [Mutex] waiting for: [user_regular9ypys40202@test-domain.com:message:received:content_tfoig80207]

2022-03-01 20:34:52 | [Mutex] timeout. Not received [user_regular9ypys40202@test-domain.com:message:received:content_tfoig80207]

2022-03-01 20:34:52 | [Mutex] received everything.

2022-03-01 20:34:52 | [Mutex] isItemNotified: user_regular9ypys40202@test-domain.com:message:received:content_tfoig80207 :: false

2022-03-01 20:34:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tfoig80207 :: true