Generated by TestNG with ReportNG at 21:41 PST on Wednesday 18 November 2020
root@43fec6d4badf / 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.863s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.840s
2020-11-18 21:58:34 |

2020-11-18 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-18 21:58:34 | ------------------------------------

2020-11-18 21:58:34 | [Mutex] isItemNotified: node_faxkhl0203:exists :: false

2020-11-18 21:58:34 | [Mutex] waiting for: [node_faxkhl0203:create_node]

2020-11-18 21:58:35 | [Mutex] received everything.

2020-11-18 21:58:35 | [Mutex] isItemNotified: node_faxkhl0203:create_node:success :: true

2020-11-18 21:58:35 | [Mutex] waiting for: [node_faxkhl0203:subscribe_node]

2020-11-18 21:58:35 | [Mutex] waiting for: [node_faxkhl0203:subscribe_node]

2020-11-18 21:58:35 | [Mutex] received everything.

2020-11-18 21:58:35 | [Mutex] isItemNotified: node_faxkhl0203:subscribe_node:success :: true

2020-11-18 21:58:35 |


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


2020-11-18 21:58:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:58:35 | command: <data><node>node_faxkhl0203</node><entry><content>content_7vvd2d0204</content></entry></data>

2020-11-18 21:58:35 | target: http://localhost:8088

2020-11-18 21:58:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-18 21:58:35 | entity: <data><node>node_faxkhl0203</node><entry><content>content_7vvd2d0204</content></entry></data>

2020-11-18 21:58:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:58:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:58:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cf371ad5-401d-432d-9ceb-e8c43f2c9b98</value></item-id></result>

2020-11-18 21:58:35 | contains: true

2020-11-18 21:58:35 | [Mutex] waiting for: [user_regular86zoqe0202@test-domain.com:message:received:content_7vvd2d0204]

2020-11-18 21:58:35 | [Mutex] received everything.

2020-11-18 21:58:35 | [Mutex] isItemNotified: user_regular86zoqe0202@test-domain.com:message:received:content_7vvd2d0204 :: true

2020-11-18 21:58:35 |


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


2020-11-18 21:58:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:58:35 | command: <data><node>node_faxkhl0203</node><expire-at>2020-11-19T05:58:30Z</expire-at><entry><content>content_x8zufc0205</content></entry></data>

2020-11-18 21:58:35 | target: http://localhost:8088

2020-11-18 21:58:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-18 21:58:35 | entity: <data><node>node_faxkhl0203</node><expire-at>2020-11-19T05:58:30Z</expire-at><entry><content>content_x8zufc0205</content></entry></data>

2020-11-18 21:58:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:58:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:58:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d29642f8-0954-4c10-b5a0-3c37fccabeaa</value></item-id></result>

2020-11-18 21:58:35 | contains: true

2020-11-18 21:58:35 | [Mutex] waiting for: [user_regular86zoqe0202@test-domain.com:message:received:content_x8zufc0205]

2020-11-18 21:58:50 | [Mutex] timeout. Not received [user_regular86zoqe0202@test-domain.com:message:received:content_x8zufc0205]

2020-11-18 21:58:50 | [Mutex] isItemNotified: user_regular86zoqe0202@test-domain.com:message:received:content_x8zufc0205 :: false

2020-11-18 21:58:50 |


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


2020-11-18 21:58:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:58:50 | command: <data><node>node_faxkhl0203</node><entry><content>content_mb791j0206</content></entry></data>

2020-11-18 21:58:50 | target: http://localhost:8088

2020-11-18 21:58:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-18 21:58:50 | entity: <data><node>node_faxkhl0203</node><entry><content>content_mb791j0206</content></entry></data>

2020-11-18 21:58:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:58:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:58:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d3035dd1-c057-4686-b003-98dd2735a46a</value></item-id></result>

2020-11-18 21:58:50 | contains: true

2020-11-18 21:58:55 | [Mutex] waiting for: [user_regular86zoqe0202@test-domain.com:message:received:content_mb791j0206]

2020-11-18 21:58:55 | [Mutex] received everything.

2020-11-18 21:58:55 | [Mutex] isItemNotified: user_regular86zoqe0202@test-domain.com:message:received:content_mb791j0206 :: true

2020-11-18 21:58:55 |


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


2020-11-18 21:58:55 | [Mutex] received everything.

2020-11-18 21:58:55 | [Mutex] isItemNotified: node_faxkhl0203:subscribe_node:success :: true

2020-11-18 21:58:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-18 21:58:55 | command: <data><node>node_faxkhl0203</node><expire-at>2020-11-19T05:59:00Z</expire-at><entry><content>content_jroto90207</content></entry></data>

2020-11-18 21:58:55 | target: http://localhost:8088

2020-11-18 21:58:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-18 21:58:55 | entity: <data><node>node_faxkhl0203</node><expire-at>2020-11-19T05:59:00Z</expire-at><entry><content>content_jroto90207</content></entry></data>

2020-11-18 21:58:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:58:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-18 21:58:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f27b56a8-e153-44b3-add0-6e89a845c54d</value></item-id></result>

2020-11-18 21:58:55 | contains: true

2020-11-18 21:59:03 | [Mutex] waiting for: [user_regular86zoqe0202@test-domain.com:message:received:content_jroto90207]

2020-11-18 21:59:03 | [Mutex] waiting for: [user_regular86zoqe0202@test-domain.com:message:received:content_jroto90207]

2020-11-18 21:59:18 | [Mutex] timeout. Not received [user_regular86zoqe0202@test-domain.com:message:received:content_jroto90207]

2020-11-18 21:59:18 | [Mutex] received everything.

2020-11-18 21:59:18 | [Mutex] isItemNotified: user_regular86zoqe0202@test-domain.com:message:received:content_jroto90207 :: false

2020-11-18 21:59:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jroto90207 :: true