Generated by TestNG with ReportNG at 22:31 PDT on Monday 11 July 2022
root@7c41cec37518 / 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.956s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.641s
2022-07-11 22:46:13 |

2022-07-11 22:46:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-11 22:46:13 | ------------------------------------

2022-07-11 22:46:13 | [Mutex] isItemNotified: node_l7qxl60204:exists :: false

2022-07-11 22:46:13 | [Mutex] waiting for: [node_l7qxl60204:create_node]

2022-07-11 22:46:13 | [Mutex] received everything.

2022-07-11 22:46:13 | [Mutex] isItemNotified: node_l7qxl60204:create_node:success :: true

2022-07-11 22:46:13 | [Mutex] waiting for: [node_l7qxl60204:subscribe_node]

2022-07-11 22:46:13 | [Mutex] received everything.

2022-07-11 22:46:13 | [Mutex] isItemNotified: node_l7qxl60204:subscribe_node:success :: true

2022-07-11 22:46:13 |


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


2022-07-11 22:46:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-11 22:46:13 | command: <data><node>node_l7qxl60204</node><entry><content>content_mklhfp0205</content></entry></data>

2022-07-11 22:46:13 | target: http://localhost:8088

2022-07-11 22:46:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-11 22:46:13 | entity: <data><node>node_l7qxl60204</node><entry><content>content_mklhfp0205</content></entry></data>

2022-07-11 22:46:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 05:46:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-11 22:46:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a1175849-9934-4196-925d-fdfb68997209</value></item-id></result>

2022-07-11 22:46:13 | contains: true

2022-07-11 22:46:13 | [Mutex] waiting for: [user_regularvz47ki0203@test-domain.com:message:received:content_mklhfp0205]

2022-07-11 22:46:13 | [Mutex] received everything.

2022-07-11 22:46:13 | [Mutex] isItemNotified: user_regularvz47ki0203@test-domain.com:message:received:content_mklhfp0205 :: true

2022-07-11 22:46:13 |


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


2022-07-11 22:46:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-11 22:46:13 | command: <data><node>node_l7qxl60204</node><expire-at>2022-07-12T05:46:08Z</expire-at><entry><content>content_nczo0x0206</content></entry></data>

2022-07-11 22:46:13 | target: http://localhost:8088

2022-07-11 22:46:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-11 22:46:13 | entity: <data><node>node_l7qxl60204</node><expire-at>2022-07-12T05:46:08Z</expire-at><entry><content>content_nczo0x0206</content></entry></data>

2022-07-11 22:46:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 05:46:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-11 22:46:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a9170d90-f765-440f-aab1-c7be2dd672d9</value></item-id></result>

2022-07-11 22:46:13 | contains: true

2022-07-11 22:46:13 | [Mutex] waiting for: [user_regularvz47ki0203@test-domain.com:message:received:content_nczo0x0206]

2022-07-11 22:46:28 | [Mutex] timeout. Not received [user_regularvz47ki0203@test-domain.com:message:received:content_nczo0x0206]

2022-07-11 22:46:28 | [Mutex] isItemNotified: user_regularvz47ki0203@test-domain.com:message:received:content_nczo0x0206 :: false

2022-07-11 22:46:28 |


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


2022-07-11 22:46:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-11 22:46:28 | command: <data><node>node_l7qxl60204</node><entry><content>content_rxlrwg0207</content></entry></data>

2022-07-11 22:46:28 | target: http://localhost:8088

2022-07-11 22:46:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-11 22:46:28 | entity: <data><node>node_l7qxl60204</node><entry><content>content_rxlrwg0207</content></entry></data>

2022-07-11 22:46:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 05:46:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-11 22:46:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f5086d6c-305d-47d7-a8c9-9e808ce6430b</value></item-id></result>

2022-07-11 22:46:28 | contains: true

2022-07-11 22:46:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-07-11 22:46:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-11 22:46:33 | [Mutex] waiting for: [user_regularvz47ki0203@test-domain.com:message:received:content_rxlrwg0207]

2022-07-11 22:46:33 | [Mutex] received everything.

2022-07-11 22:46:33 | [Mutex] isItemNotified: user_regularvz47ki0203@test-domain.com:message:received:content_rxlrwg0207 :: true

2022-07-11 22:46:33 |


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


2022-07-11 22:46:33 | [Mutex] received everything.

2022-07-11 22:46:33 | [Mutex] isItemNotified: node_l7qxl60204:subscribe_node:success :: true

2022-07-11 22:46:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-11 22:46:33 | command: <data><node>node_l7qxl60204</node><expire-at>2022-07-12T05:46:38Z</expire-at><entry><content>content_rz2ldj0208</content></entry></data>

2022-07-11 22:46:33 | target: http://localhost:8088

2022-07-11 22:46:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-11 22:46:33 | entity: <data><node>node_l7qxl60204</node><expire-at>2022-07-12T05:46:38Z</expire-at><entry><content>content_rz2ldj0208</content></entry></data>

2022-07-11 22:46:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 05:46:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-11 22:46:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dbf41ed1-950a-43cb-afef-f8a1e0635edb</value></item-id></result>

2022-07-11 22:46:33 | contains: true

2022-07-11 22:46:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-11 22:46:41 | [Mutex] waiting for: [user_regularvz47ki0203@test-domain.com:message:received:content_rz2ldj0208]

2022-07-11 22:46:56 | [Mutex] timeout. Not received [user_regularvz47ki0203@test-domain.com:message:received:content_rz2ldj0208]

2022-07-11 22:46:56 | [Mutex] received everything.

2022-07-11 22:46:56 | [Mutex] isItemNotified: user_regularvz47ki0203@test-domain.com:message:received:content_rz2ldj0208 :: false

2022-07-11 22:46:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rz2ldj0208 :: true