Generated by TestNG with ReportNG at 22:03 PST on Tuesday 08 February 2022
root@b2c2a8eba6e6 / 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.478s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.684s
2022-02-08 22:19:10 |

2022-02-08 22:19:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-08 22:19:10 | ------------------------------------

2022-02-08 22:19:10 | [Mutex] isItemNotified: node_92169c0203:exists :: false

2022-02-08 22:19:10 | [Mutex] waiting for: [node_92169c0203:create_node]

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

2022-02-08 22:19:10 | [Mutex] isItemNotified: node_92169c0203:create_node:success :: true

2022-02-08 22:19:10 | [Mutex] waiting for: [node_92169c0203:subscribe_node]

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

2022-02-08 22:19:10 | [Mutex] isItemNotified: node_92169c0203:subscribe_node:success :: true

2022-02-08 22:19:10 |


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


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

2022-02-08 22:19:10 | command: <data><node>node_92169c0203</node><entry><content>content_c8h7810204</content></entry></data>

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

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

2022-02-08 22:19:10 | entity: <data><node>node_92169c0203</node><entry><content>content_c8h7810204</content></entry></data>

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

2022-02-08 22:19:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>de2368e2-7539-4355-be04-92ad912d8690</value></item-id></result>

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

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

2022-02-08 22:19:10 | [Mutex] isItemNotified: user_regularkpxaqp0202@test-domain.com:message:received:content_c8h7810204 :: true

2022-02-08 22:19:10 |


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


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

2022-02-08 22:19:10 | command: <data><node>node_92169c0203</node><expire-at>2022-02-09T06:19:05Z</expire-at><entry><content>content_f7rf0j0205</content></entry></data>

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

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

2022-02-08 22:19:10 | entity: <data><node>node_92169c0203</node><expire-at>2022-02-09T06:19:05Z</expire-at><entry><content>content_f7rf0j0205</content></entry></data>

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

2022-02-08 22:19:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f2319fb6-881a-49b3-8bb8-84e6a6363d80</value></item-id></result>

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

2022-02-08 22:19:10 | [Mutex] waiting for: [user_regularkpxaqp0202@test-domain.com:message:received:content_f7rf0j0205]

2022-02-08 22:19:25 | [Mutex] timeout. Not received [user_regularkpxaqp0202@test-domain.com:message:received:content_f7rf0j0205]

2022-02-08 22:19:25 | [Mutex] isItemNotified: user_regularkpxaqp0202@test-domain.com:message:received:content_f7rf0j0205 :: false

2022-02-08 22:19:25 |


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


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

2022-02-08 22:19:25 | command: <data><node>node_92169c0203</node><entry><content>content_g1njbv0206</content></entry></data>

2022-02-08 22:19:25 | target: http://localhost:8088

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

2022-02-08 22:19:25 | entity: <data><node>node_92169c0203</node><entry><content>content_g1njbv0206</content></entry></data>

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

2022-02-08 22:19:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f58f0438-4e7d-4084-89d8-62cde85f1614</value></item-id></result>

2022-02-08 22:19:25 | contains: true

2022-02-08 22:19:30 | [Mutex] waiting for: [user_regularkpxaqp0202@test-domain.com:message:received:content_g1njbv0206]

2022-02-08 22:19:30 | [Mutex] received everything.

2022-02-08 22:19:30 | [Mutex] isItemNotified: user_regularkpxaqp0202@test-domain.com:message:received:content_g1njbv0206 :: true

2022-02-08 22:19:30 |


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


2022-02-08 22:19:30 | [Mutex] received everything.

2022-02-08 22:19:30 | [Mutex] isItemNotified: node_92169c0203:subscribe_node:success :: true

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

2022-02-08 22:19:30 | command: <data><node>node_92169c0203</node><expire-at>2022-02-09T06:19:35Z</expire-at><entry><content>content_spmt220207</content></entry></data>

2022-02-08 22:19:30 | target: http://localhost:8088

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

2022-02-08 22:19:30 | entity: <data><node>node_92169c0203</node><expire-at>2022-02-09T06:19:35Z</expire-at><entry><content>content_spmt220207</content></entry></data>

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

2022-02-08 22:19:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a9bd9c9-9c48-4ff6-8fa4-39d8ebb5e1a4</value></item-id></result>

2022-02-08 22:19:31 | contains: true

2022-02-08 22:19:39 | [Mutex] waiting for: [user_regularkpxaqp0202@test-domain.com:message:received:content_spmt220207]

2022-02-08 22:19:54 | [Mutex] timeout. Not received [user_regularkpxaqp0202@test-domain.com:message:received:content_spmt220207]

2022-02-08 22:19:54 | [Mutex] received everything.

2022-02-08 22:19:54 | [Mutex] isItemNotified: user_regularkpxaqp0202@test-domain.com:message:received:content_spmt220207 :: false

2022-02-08 22:19:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_spmt220207 :: true