Generated by TestNG with ReportNG at 21:45 PST on Thursday 17 February 2022
root@f29ef40080b5 / 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.582s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.698s
2022-02-17 22:03:10 |

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

2022-02-17 22:03:10 | ------------------------------------

2022-02-17 22:03:10 | [Mutex] isItemNotified: node_z9ys9h0203:exists :: false

2022-02-17 22:03:10 | [Mutex] waiting for: [node_z9ys9h0203:create_node]

2022-02-17 22:03:10 | [Mutex] received everything.

2022-02-17 22:03:10 | [Mutex] isItemNotified: node_z9ys9h0203:create_node:success :: true

2022-02-17 22:03:10 | [Mutex] waiting for: [node_z9ys9h0203:subscribe_node]

2022-02-17 22:03:10 | [Mutex] received everything.

2022-02-17 22:03:10 | [Mutex] isItemNotified: node_z9ys9h0203:subscribe_node:success :: true

2022-02-17 22:03:10 |


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


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

2022-02-17 22:03:10 | command: <data><node>node_z9ys9h0203</node><entry><content>content_v4xsi80204</content></entry></data>

2022-02-17 22:03:10 | target: http://localhost:8088

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

2022-02-17 22:03:10 | entity: <data><node>node_z9ys9h0203</node><entry><content>content_v4xsi80204</content></entry></data>

2022-02-17 22:03:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 06:03:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 22:03:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aabbed04-965d-466d-b646-40101ed9bc7f</value></item-id></result>

2022-02-17 22:03:10 | contains: true

2022-02-17 22:03:10 | [Mutex] waiting for: [user_regularst27ge0202@test-domain.com:message:received:content_v4xsi80204]

2022-02-17 22:03:10 | [Mutex] received everything.

2022-02-17 22:03:10 | [Mutex] isItemNotified: user_regularst27ge0202@test-domain.com:message:received:content_v4xsi80204 :: true

2022-02-17 22:03:10 |


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


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

2022-02-17 22:03:10 | command: <data><node>node_z9ys9h0203</node><expire-at>2022-02-18T06:03:05Z</expire-at><entry><content>content_dag02f0205</content></entry></data>

2022-02-17 22:03:10 | target: http://localhost:8088

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

2022-02-17 22:03:10 | entity: <data><node>node_z9ys9h0203</node><expire-at>2022-02-18T06:03:05Z</expire-at><entry><content>content_dag02f0205</content></entry></data>

2022-02-17 22:03:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 06:03:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 22:03:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>58664543-acf4-467f-bbac-4e0964668dcf</value></item-id></result>

2022-02-17 22:03:10 | contains: true

2022-02-17 22:03:10 | [Mutex] waiting for: [user_regularst27ge0202@test-domain.com:message:received:content_dag02f0205]

2022-02-17 22:03:25 | [Mutex] timeout. Not received [user_regularst27ge0202@test-domain.com:message:received:content_dag02f0205]

2022-02-17 22:03:25 | [Mutex] isItemNotified: user_regularst27ge0202@test-domain.com:message:received:content_dag02f0205 :: false

2022-02-17 22:03:25 |


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


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

2022-02-17 22:03:25 | command: <data><node>node_z9ys9h0203</node><entry><content>content_c33x7c0206</content></entry></data>

2022-02-17 22:03:25 | target: http://localhost:8088

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

2022-02-17 22:03:25 | entity: <data><node>node_z9ys9h0203</node><entry><content>content_c33x7c0206</content></entry></data>

2022-02-17 22:03:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 06:03:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 22:03:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>72b02b11-255f-4a77-9557-06f18c8b049a</value></item-id></result>

2022-02-17 22:03:25 | contains: true

2022-02-17 22:03:30 | [Mutex] waiting for: [user_regularst27ge0202@test-domain.com:message:received:content_c33x7c0206]

2022-02-17 22:03:30 | [Mutex] received everything.

2022-02-17 22:03:30 | [Mutex] isItemNotified: user_regularst27ge0202@test-domain.com:message:received:content_c33x7c0206 :: true

2022-02-17 22:03:30 |


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


2022-02-17 22:03:30 | [Mutex] received everything.

2022-02-17 22:03:30 | [Mutex] isItemNotified: node_z9ys9h0203:subscribe_node:success :: true

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

2022-02-17 22:03:30 | command: <data><node>node_z9ys9h0203</node><expire-at>2022-02-18T06:03:35Z</expire-at><entry><content>content_vbdlk10207</content></entry></data>

2022-02-17 22:03:30 | target: http://localhost:8088

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

2022-02-17 22:03:30 | entity: <data><node>node_z9ys9h0203</node><expire-at>2022-02-18T06:03:35Z</expire-at><entry><content>content_vbdlk10207</content></entry></data>

2022-02-17 22:03:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Feb 2022 06:03:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-17 22:03:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>66493636-56e2-4254-950a-cb1d105474ce</value></item-id></result>

2022-02-17 22:03:30 | contains: true

2022-02-17 22:03:38 | [Mutex] waiting for: [user_regularst27ge0202@test-domain.com:message:received:content_vbdlk10207]

2022-02-17 22:03:53 | [Mutex] timeout. Not received [user_regularst27ge0202@test-domain.com:message:received:content_vbdlk10207]

2022-02-17 22:03:53 | [Mutex] received everything.

2022-02-17 22:03:53 | [Mutex] isItemNotified: user_regularst27ge0202@test-domain.com:message:received:content_vbdlk10207 :: false

2022-02-17 22:03:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vbdlk10207 :: true