Generated by TestNG with ReportNG at 22:51 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 : 45,003s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43,839s
2022-03-01 23:04:53 |

2022-03-01 23:04:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-03-01 23:04:53 | ------------------------------------

2022-03-01 23:04:53 | [Mutex] isItemNotified: node_k2l0fj0203:exists :: false

2022-03-01 23:04:53 | [Mutex] waiting for: [node_k2l0fj0203:create_node]

2022-03-01 23:04:53 | [Mutex] received everything.

2022-03-01 23:04:53 | [Mutex] isItemNotified: node_k2l0fj0203:create_node:success :: true

2022-03-01 23:04:53 | [Mutex] waiting for: [node_k2l0fj0203:subscribe_node]

2022-03-01 23:04:53 | [Mutex] received everything.

2022-03-01 23:04:53 | [Mutex] isItemNotified: node_k2l0fj0203:subscribe_node:success :: true

2022-03-01 23:04:53 |


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


2022-03-01 23:04:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-01 23:04:53 | command: <data><node>node_k2l0fj0203</node><entry><content>content_hci7110204</content></entry></data>

2022-03-01 23:04:53 | target: http://localhost:8088

2022-03-01 23:04:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-01 23:04:53 | entity: <data><node>node_k2l0fj0203</node><entry><content>content_hci7110204</content></entry></data>

2022-03-01 23:04:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Mar 2022 22:04:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-01 23:04:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>97a137e6-3cc3-4ce5-8ab5-e48b56fb8eb0</value></item-id></result>

2022-03-01 23:04:53 | contains: true

2022-03-01 23:04:53 | [Mutex] waiting for: [user_regular10pu3w0202@test-domain.com:message:received:content_hci7110204]

2022-03-01 23:04:53 | [Mutex] received everything.

2022-03-01 23:04:53 | [Mutex] isItemNotified: user_regular10pu3w0202@test-domain.com:message:received:content_hci7110204 :: true

2022-03-01 23:04:53 |


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


2022-03-01 23:04:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-01 23:04:53 | command: <data><node>node_k2l0fj0203</node><expire-at>2022-03-01T22:04:48Z</expire-at><entry><content>content_zbi8bw0205</content></entry></data>

2022-03-01 23:04:53 | target: http://localhost:8088

2022-03-01 23:04:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-01 23:04:53 | entity: <data><node>node_k2l0fj0203</node><expire-at>2022-03-01T22:04:48Z</expire-at><entry><content>content_zbi8bw0205</content></entry></data>

2022-03-01 23:04:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Mar 2022 22:04:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-01 23:04:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9a219364-b0b1-4c5b-b6a6-dd03ed7914ed</value></item-id></result>

2022-03-01 23:04:53 | contains: true

2022-03-01 23:04:53 | [Mutex] waiting for: [user_regular10pu3w0202@test-domain.com:message:received:content_zbi8bw0205]

2022-03-01 23:05:08 | [Mutex] timeout. Not received [user_regular10pu3w0202@test-domain.com:message:received:content_zbi8bw0205]

2022-03-01 23:05:08 | [Mutex] isItemNotified: user_regular10pu3w0202@test-domain.com:message:received:content_zbi8bw0205 :: false

2022-03-01 23:05:08 |


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


2022-03-01 23:05:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-01 23:05:08 | command: <data><node>node_k2l0fj0203</node><entry><content>content_7niide0206</content></entry></data>

2022-03-01 23:05:08 | target: http://localhost:8088

2022-03-01 23:05:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-01 23:05:08 | entity: <data><node>node_k2l0fj0203</node><entry><content>content_7niide0206</content></entry></data>

2022-03-01 23:05:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Mar 2022 22:05:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-01 23:05:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>82d03ff0-2188-409a-aac2-e6b53ec9aefb</value></item-id></result>

2022-03-01 23:05:08 | contains: true

2022-03-01 23:05:14 | [Mutex] received everything.

2022-03-01 23:05:14 | [Mutex] isItemNotified: user_regular10pu3w0202@test-domain.com:message:received:content_7niide0206 :: true

2022-03-01 23:05:14 |


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


2022-03-01 23:05:14 | [Mutex] received everything.

2022-03-01 23:05:14 | [Mutex] isItemNotified: node_k2l0fj0203:subscribe_node:success :: true

2022-03-01 23:05:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-01 23:05:14 | command: <data><node>node_k2l0fj0203</node><expire-at>2022-03-01T22:05:19Z</expire-at><entry><content>content_iu1dwa0207</content></entry></data>

2022-03-01 23:05:14 | target: http://localhost:8088

2022-03-01 23:05:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-01 23:05:14 | entity: <data><node>node_k2l0fj0203</node><expire-at>2022-03-01T22:05:19Z</expire-at><entry><content>content_iu1dwa0207</content></entry></data>

2022-03-01 23:05:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Mar 2022 22:05:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-01 23:05:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37a059cb-222d-4774-bb70-c1fb5ef0639d</value></item-id></result>

2022-03-01 23:05:14 | contains: true

2022-03-01 23:05:22 | [Mutex] waiting for: [user_regular10pu3w0202@test-domain.com:message:received:content_iu1dwa0207]

2022-03-01 23:05:37 | [Mutex] timeout. Not received [user_regular10pu3w0202@test-domain.com:message:received:content_iu1dwa0207]

2022-03-01 23:05:37 | [Mutex] received everything.

2022-03-01 23:05:37 | [Mutex] isItemNotified: user_regular10pu3w0202@test-domain.com:message:received:content_iu1dwa0207 :: false

2022-03-01 23:05:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iu1dwa0207 :: true