Generated by TestNG with ReportNG at 23:45 PDT on Sunday 19 September 2021
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.447s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.714s
2021-09-20 00:01:10 |

2021-09-20 00:01:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-20 00:01:10 | ------------------------------------

2021-09-20 00:01:10 | [Mutex] isItemNotified: node_bn33bn0203:exists :: false

2021-09-20 00:01:10 | [Mutex] waiting for: [node_bn33bn0203:create_node]

2021-09-20 00:01:10 | [Mutex] received everything.

2021-09-20 00:01:10 | [Mutex] isItemNotified: node_bn33bn0203:create_node:success :: true

2021-09-20 00:01:10 | [Mutex] waiting for: [node_bn33bn0203:subscribe_node]

2021-09-20 00:01:10 | [Mutex] received everything.

2021-09-20 00:01:10 | [Mutex] isItemNotified: node_bn33bn0203:subscribe_node:success :: true

2021-09-20 00:01:10 |


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


2021-09-20 00:01:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 00:01:10 | command: <data><node>node_bn33bn0203</node><entry><content>content_ie7yus0204</content></entry></data>

2021-09-20 00:01:10 | target: http://localhost:8088

2021-09-20 00:01:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-20 00:01:10 | entity: <data><node>node_bn33bn0203</node><entry><content>content_ie7yus0204</content></entry></data>

2021-09-20 00:01:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 07:01:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 00:01:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>329204c7-f383-4f83-9b8c-177e6d764b44</value></item-id></result>

2021-09-20 00:01:10 | contains: true

2021-09-20 00:01:10 | [Mutex] received everything.

2021-09-20 00:01:10 | [Mutex] isItemNotified: user_regular9vpkxb0202@test-domain.com:message:received:content_ie7yus0204 :: true

2021-09-20 00:01:10 |


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


2021-09-20 00:01:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 00:01:10 | command: <data><node>node_bn33bn0203</node><expire-at>2021-09-20T07:01:05Z</expire-at><entry><content>content_ea25ya0205</content></entry></data>

2021-09-20 00:01:10 | target: http://localhost:8088

2021-09-20 00:01:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-20 00:01:10 | entity: <data><node>node_bn33bn0203</node><expire-at>2021-09-20T07:01:05Z</expire-at><entry><content>content_ea25ya0205</content></entry></data>

2021-09-20 00:01:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 07:01:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 00:01:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f448d537-fbe3-4808-b45d-f58f2ff58ac5</value></item-id></result>

2021-09-20 00:01:10 | contains: true

2021-09-20 00:01:10 | [Mutex] waiting for: [user_regular9vpkxb0202@test-domain.com:message:received:content_ea25ya0205]

2021-09-20 00:01:25 | [Mutex] timeout. Not received [user_regular9vpkxb0202@test-domain.com:message:received:content_ea25ya0205]

2021-09-20 00:01:25 | [Mutex] isItemNotified: user_regular9vpkxb0202@test-domain.com:message:received:content_ea25ya0205 :: false

2021-09-20 00:01:25 |


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


2021-09-20 00:01:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 00:01:25 | command: <data><node>node_bn33bn0203</node><entry><content>content_h1gozw0206</content></entry></data>

2021-09-20 00:01:25 | target: http://localhost:8088

2021-09-20 00:01:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-20 00:01:25 | entity: <data><node>node_bn33bn0203</node><entry><content>content_h1gozw0206</content></entry></data>

2021-09-20 00:01:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 07:01:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 00:01:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2573800b-0ebb-4bd1-88ef-4ae27fdbde4a</value></item-id></result>

2021-09-20 00:01:25 | contains: true

2021-09-20 00:01:30 | [Mutex] waiting for: [user_regular9vpkxb0202@test-domain.com:message:received:content_h1gozw0206]

2021-09-20 00:01:30 | [Mutex] received everything.

2021-09-20 00:01:30 | [Mutex] isItemNotified: user_regular9vpkxb0202@test-domain.com:message:received:content_h1gozw0206 :: true

2021-09-20 00:01:30 |


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


2021-09-20 00:01:30 | [Mutex] received everything.

2021-09-20 00:01:30 | [Mutex] isItemNotified: node_bn33bn0203:subscribe_node:success :: true

2021-09-20 00:01:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-20 00:01:30 | command: <data><node>node_bn33bn0203</node><expire-at>2021-09-20T07:01:35Z</expire-at><entry><content>content_xgzct30207</content></entry></data>

2021-09-20 00:01:30 | target: http://localhost:8088

2021-09-20 00:01:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-20 00:01:30 | entity: <data><node>node_bn33bn0203</node><expire-at>2021-09-20T07:01:35Z</expire-at><entry><content>content_xgzct30207</content></entry></data>

2021-09-20 00:01:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 07:01:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-20 00:01:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>baa392a6-409d-4375-a11f-56b137894d2f</value></item-id></result>

2021-09-20 00:01:30 | contains: true

2021-09-20 00:01:39 | [Mutex] waiting for: [user_regular9vpkxb0202@test-domain.com:message:received:content_xgzct30207]

2021-09-20 00:01:54 | [Mutex] timeout. Not received [user_regular9vpkxb0202@test-domain.com:message:received:content_xgzct30207]

2021-09-20 00:01:54 | [Mutex] received everything.

2021-09-20 00:01:54 | [Mutex] isItemNotified: user_regular9vpkxb0202@test-domain.com:message:received:content_xgzct30207 :: false

2021-09-20 00:01:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xgzct30207 :: true