Generated by TestNG with ReportNG at 08:08 PST on Wednesday 16 February 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 : 44.909s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.642s
2022-02-16 08:21:50 |

2022-02-16 08:21:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-16 08:21:50 | ------------------------------------

2022-02-16 08:21:50 | [Mutex] isItemNotified: node_niaeuo0203:exists :: false

2022-02-16 08:21:50 | [Mutex] waiting for: [node_niaeuo0203:create_node]

2022-02-16 08:21:50 | [Mutex] received everything.

2022-02-16 08:21:50 | [Mutex] isItemNotified: node_niaeuo0203:create_node:success :: true

2022-02-16 08:21:50 | [Mutex] waiting for: [node_niaeuo0203:subscribe_node]

2022-02-16 08:21:50 | [Mutex] received everything.

2022-02-16 08:21:50 | [Mutex] isItemNotified: node_niaeuo0203:subscribe_node:success :: true

2022-02-16 08:21:50 |


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


2022-02-16 08:21:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 08:21:50 | command: <data><node>node_niaeuo0203</node><entry><content>content_6732wj0204</content></entry></data>

2022-02-16 08:21:50 | target: http://localhost:8088

2022-02-16 08:21:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-16 08:21:50 | entity: <data><node>node_niaeuo0203</node><entry><content>content_6732wj0204</content></entry></data>

2022-02-16 08:21:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 16:21:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 08:21:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>490b0875-557e-414e-a31a-9ab11c756b3e</value></item-id></result>

2022-02-16 08:21:50 | contains: true

2022-02-16 08:21:50 | [Mutex] received everything.

2022-02-16 08:21:50 | [Mutex] isItemNotified: user_regulare4dk00202@test-domain.com:message:received:content_6732wj0204 :: true

2022-02-16 08:21:50 |


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


2022-02-16 08:21:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 08:21:50 | command: <data><node>node_niaeuo0203</node><expire-at>2022-02-16T16:21:45Z</expire-at><entry><content>content_b1nbhh0205</content></entry></data>

2022-02-16 08:21:50 | target: http://localhost:8088

2022-02-16 08:21:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-16 08:21:50 | entity: <data><node>node_niaeuo0203</node><expire-at>2022-02-16T16:21:45Z</expire-at><entry><content>content_b1nbhh0205</content></entry></data>

2022-02-16 08:21:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 16:21:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 08:21:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5d2e5d56-4721-41b0-8b12-001bb1bc723c</value></item-id></result>

2022-02-16 08:21:50 | contains: true

2022-02-16 08:21:50 | [Mutex] waiting for: [user_regulare4dk00202@test-domain.com:message:received:content_b1nbhh0205]

2022-02-16 08:22:05 | [Mutex] timeout. Not received [user_regulare4dk00202@test-domain.com:message:received:content_b1nbhh0205]

2022-02-16 08:22:05 | [Mutex] isItemNotified: user_regulare4dk00202@test-domain.com:message:received:content_b1nbhh0205 :: false

2022-02-16 08:22:05 |


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


2022-02-16 08:22:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 08:22:05 | command: <data><node>node_niaeuo0203</node><entry><content>content_ewnc1q0206</content></entry></data>

2022-02-16 08:22:05 | target: http://localhost:8088

2022-02-16 08:22:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-16 08:22:05 | entity: <data><node>node_niaeuo0203</node><entry><content>content_ewnc1q0206</content></entry></data>

2022-02-16 08:22:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 16:22:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 08:22:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>130d9b44-9030-44f8-a8af-5afb9afb5084</value></item-id></result>

2022-02-16 08:22:05 | contains: true

2022-02-16 08:22:10 | [Mutex] waiting for: [user_regulare4dk00202@test-domain.com:message:received:content_ewnc1q0206]

2022-02-16 08:22:10 | [Mutex] received everything.

2022-02-16 08:22:10 | [Mutex] isItemNotified: user_regulare4dk00202@test-domain.com:message:received:content_ewnc1q0206 :: true

2022-02-16 08:22:10 |


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


2022-02-16 08:22:10 | [Mutex] received everything.

2022-02-16 08:22:10 | [Mutex] isItemNotified: node_niaeuo0203:subscribe_node:success :: true

2022-02-16 08:22:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-16 08:22:10 | command: <data><node>node_niaeuo0203</node><expire-at>2022-02-16T16:22:15Z</expire-at><entry><content>content_ecr04z0207</content></entry></data>

2022-02-16 08:22:10 | target: http://localhost:8088

2022-02-16 08:22:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-16 08:22:10 | entity: <data><node>node_niaeuo0203</node><expire-at>2022-02-16T16:22:15Z</expire-at><entry><content>content_ecr04z0207</content></entry></data>

2022-02-16 08:22:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 16:22:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-16 08:22:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a1fd9702-0c5c-4e6d-9b0b-88fb4c52964b</value></item-id></result>

2022-02-16 08:22:10 | contains: true

2022-02-16 08:22:18 | [Mutex] waiting for: [user_regulare4dk00202@test-domain.com:message:received:content_ecr04z0207]

2022-02-16 08:22:18 | [Mutex] waiting for: [user_regulare4dk00202@test-domain.com:message:received:content_ecr04z0207]

2022-02-16 08:22:18 | [Mutex] waiting for: [user_regulare4dk00202@test-domain.com:message:received:content_ecr04z0207]

2022-02-16 08:22:33 | [Mutex] timeout. Not received [user_regulare4dk00202@test-domain.com:message:received:content_ecr04z0207]

2022-02-16 08:22:33 | [Mutex] received everything.

2022-02-16 08:22:33 | [Mutex] isItemNotified: user_regulare4dk00202@test-domain.com:message:received:content_ecr04z0207 :: false

2022-02-16 08:22:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ecr04z0207 :: true