Generated by TestNG with ReportNG at 22:19 PDT on Thursday 18 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.849s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.626s
2022-08-18 22:40:48 |

2022-08-18 22:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-18 22:40:48 | ------------------------------------

2022-08-18 22:40:48 | [Mutex] isItemNotified: node_y9rvlb0204:exists :: false

2022-08-18 22:40:48 | [Mutex] waiting for: [node_y9rvlb0204:create_node]

2022-08-18 22:40:48 | [Mutex] received everything.

2022-08-18 22:40:48 | [Mutex] isItemNotified: node_y9rvlb0204:create_node:success :: true

2022-08-18 22:40:48 | [Mutex] waiting for: [node_y9rvlb0204:subscribe_node]

2022-08-18 22:40:48 | [Mutex] waiting for: [node_y9rvlb0204:subscribe_node]

2022-08-18 22:40:48 | [Mutex] received everything.

2022-08-18 22:40:48 | [Mutex] isItemNotified: node_y9rvlb0204:subscribe_node:success :: true

2022-08-18 22:40:48 |


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


2022-08-18 22:40:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-18 22:40:48 | command: <data><node>node_y9rvlb0204</node><entry><content>content_gmokil0205</content></entry></data>

2022-08-18 22:40:48 | target: http://localhost:8088

2022-08-18 22:40:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-18 22:40:48 | entity: <data><node>node_y9rvlb0204</node><entry><content>content_gmokil0205</content></entry></data>

2022-08-18 22:40:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Aug 2022 05:40:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-18 22:40:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c1a3846e-3662-41d5-be60-6df5cd757d36</value></item-id></result>

2022-08-18 22:40:48 | contains: true

2022-08-18 22:40:48 | [Mutex] received everything.

2022-08-18 22:40:48 | [Mutex] isItemNotified: user_regular552yoj0203@test-domain.com:message:received:content_gmokil0205 :: true

2022-08-18 22:40:48 |


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


2022-08-18 22:40:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-18 22:40:48 | command: <data><node>node_y9rvlb0204</node><expire-at>2022-08-19T05:40:43Z</expire-at><entry><content>content_4dzc70206</content></entry></data>

2022-08-18 22:40:48 | target: http://localhost:8088

2022-08-18 22:40:48 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-08-18 22:40:48 | entity: <data><node>node_y9rvlb0204</node><expire-at>2022-08-19T05:40:43Z</expire-at><entry><content>content_4dzc70206</content></entry></data>

2022-08-18 22:40:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Aug 2022 05:40:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-18 22:40:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5a69fe6a-5970-4c4f-8d94-98d2a66bfb7e</value></item-id></result>

2022-08-18 22:40:48 | contains: true

2022-08-18 22:40:48 | [Mutex] waiting for: [user_regular552yoj0203@test-domain.com:message:received:content_4dzc70206]

2022-08-18 22:41:03 | [Mutex] timeout. Not received [user_regular552yoj0203@test-domain.com:message:received:content_4dzc70206]

2022-08-18 22:41:03 | [Mutex] isItemNotified: user_regular552yoj0203@test-domain.com:message:received:content_4dzc70206 :: false

2022-08-18 22:41:03 |


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


2022-08-18 22:41:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-18 22:41:03 | command: <data><node>node_y9rvlb0204</node><entry><content>content_4htoh0207</content></entry></data>

2022-08-18 22:41:03 | target: http://localhost:8088

2022-08-18 22:41:03 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-08-18 22:41:03 | entity: <data><node>node_y9rvlb0204</node><entry><content>content_4htoh0207</content></entry></data>

2022-08-18 22:41:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Aug 2022 05:41:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-18 22:41:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>48f3eb11-f674-4274-aa52-5b04fef7f8c8</value></item-id></result>

2022-08-18 22:41:03 | contains: true

2022-08-18 22:41:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-18 22:41:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-18 22:41:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-18 22:41:08 | [Mutex] waiting for: [user_regular552yoj0203@test-domain.com:message:received:content_4htoh0207]

2022-08-18 22:41:08 | [Mutex] received everything.

2022-08-18 22:41:08 | [Mutex] isItemNotified: user_regular552yoj0203@test-domain.com:message:received:content_4htoh0207 :: true

2022-08-18 22:41:08 |


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


2022-08-18 22:41:08 | [Mutex] received everything.

2022-08-18 22:41:08 | [Mutex] isItemNotified: node_y9rvlb0204:subscribe_node:success :: true

2022-08-18 22:41:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-18 22:41:09 | command: <data><node>node_y9rvlb0204</node><expire-at>2022-08-19T05:41:14Z</expire-at><entry><content>content_mxaz3k0208</content></entry></data>

2022-08-18 22:41:09 | target: http://localhost:8088

2022-08-18 22:41:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-18 22:41:09 | entity: <data><node>node_y9rvlb0204</node><expire-at>2022-08-19T05:41:14Z</expire-at><entry><content>content_mxaz3k0208</content></entry></data>

2022-08-18 22:41:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Aug 2022 05:41:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-18 22:41:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af480434-1e32-4e50-8443-c54353602513</value></item-id></result>

2022-08-18 22:41:09 | contains: true

2022-08-18 22:41:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-18 22:41:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-18 22:41:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-18 22:41:17 | [Mutex] waiting for: [user_regular552yoj0203@test-domain.com:message:received:content_mxaz3k0208]

2022-08-18 22:41:17 | [Mutex] waiting for: [user_regular552yoj0203@test-domain.com:message:received:content_mxaz3k0208]

2022-08-18 22:41:32 | [Mutex] timeout. Not received [user_regular552yoj0203@test-domain.com:message:received:content_mxaz3k0208]

2022-08-18 22:41:32 | [Mutex] received everything.

2022-08-18 22:41:32 | [Mutex] isItemNotified: user_regular552yoj0203@test-domain.com:message:received:content_mxaz3k0208 :: false

2022-08-18 22:41:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mxaz3k0208 :: true