Generated by TestNG with ReportNG at 22:29 PDT on Saturday 18 March 2023
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.874s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.595s
2023-03-18 22:44:06 |

2023-03-18 22:44:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-18 22:44:06 | ------------------------------------

2023-03-18 22:44:06 | [Mutex] isItemNotified: node_m8jgdr0208:exists :: false

2023-03-18 22:44:06 | [Mutex] waiting for: [node_m8jgdr0208:create_node]

2023-03-18 22:44:06 | [Mutex] waiting for: [node_m8jgdr0208:create_node]

2023-03-18 22:44:06 | [Mutex] received everything.

2023-03-18 22:44:06 | [Mutex] isItemNotified: node_m8jgdr0208:create_node:success :: true

2023-03-18 22:44:06 | [Mutex] waiting for: [node_m8jgdr0208:subscribe_node]

2023-03-18 22:44:06 | [Mutex] waiting for: [node_m8jgdr0208:subscribe_node]

2023-03-18 22:44:06 | [Mutex] received everything.

2023-03-18 22:44:06 | [Mutex] isItemNotified: node_m8jgdr0208:subscribe_node:success :: true

2023-03-18 22:44:06 |


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


2023-03-18 22:44:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-18 22:44:06 | command: <data><node>node_m8jgdr0208</node><entry><content>content_1q4sum0209</content></entry></data>

2023-03-18 22:44:06 | target: http://localhost:8088

2023-03-18 22:44:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-18 22:44:06 | entity: <data><node>node_m8jgdr0208</node><entry><content>content_1q4sum0209</content></entry></data>

2023-03-18 22:44:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:44:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 22:44:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0216ad2c-a5b7-4575-aa9b-318c73b84e9c</value></item-id></result>

2023-03-18 22:44:06 | contains: true

2023-03-18 22:44:06 | [Mutex] waiting for: [user_regular954gwp0207@test-domain.com:message:received:content_1q4sum0209]

2023-03-18 22:44:06 | [Mutex] received everything.

2023-03-18 22:44:06 | [Mutex] isItemNotified: user_regular954gwp0207@test-domain.com:message:received:content_1q4sum0209 :: true

2023-03-18 22:44:06 |


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


2023-03-18 22:44:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-18 22:44:06 | command: <data><node>node_m8jgdr0208</node><expire-at>2023-03-19T05:44:01Z</expire-at><entry><content>content_c16c5p0210</content></entry></data>

2023-03-18 22:44:06 | target: http://localhost:8088

2023-03-18 22:44:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-18 22:44:06 | entity: <data><node>node_m8jgdr0208</node><expire-at>2023-03-19T05:44:01Z</expire-at><entry><content>content_c16c5p0210</content></entry></data>

2023-03-18 22:44:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:44:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 22:44:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>282158fe-2baf-40e6-bb6c-21c677e26850</value></item-id></result>

2023-03-18 22:44:06 | contains: true

2023-03-18 22:44:06 | [Mutex] waiting for: [user_regular954gwp0207@test-domain.com:message:received:content_c16c5p0210]

2023-03-18 22:44:21 | [Mutex] timeout. Not received [user_regular954gwp0207@test-domain.com:message:received:content_c16c5p0210]

2023-03-18 22:44:21 | [Mutex] isItemNotified: user_regular954gwp0207@test-domain.com:message:received:content_c16c5p0210 :: false

2023-03-18 22:44:21 |


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


2023-03-18 22:44:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-18 22:44:22 | command: <data><node>node_m8jgdr0208</node><entry><content>content_xj2jwa0211</content></entry></data>

2023-03-18 22:44:22 | target: http://localhost:8088

2023-03-18 22:44:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-18 22:44:22 | entity: <data><node>node_m8jgdr0208</node><entry><content>content_xj2jwa0211</content></entry></data>

2023-03-18 22:44:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:44:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 22:44:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>174ee23b-f2bc-425f-90c4-9aabaf84773c</value></item-id></result>

2023-03-18 22:44:22 | contains: true

2023-03-18 22:44:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-18 22:44:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-18 22:44:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-18 22:44:27 | [Mutex] waiting for: [user_regular954gwp0207@test-domain.com:message:received:content_xj2jwa0211]

2023-03-18 22:44:27 | [Mutex] waiting for: [user_regular954gwp0207@test-domain.com:message:received:content_xj2jwa0211]

2023-03-18 22:44:27 | [Mutex] received everything.

2023-03-18 22:44:27 | [Mutex] isItemNotified: user_regular954gwp0207@test-domain.com:message:received:content_xj2jwa0211 :: true

2023-03-18 22:44:27 |


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


2023-03-18 22:44:27 | [Mutex] received everything.

2023-03-18 22:44:27 | [Mutex] isItemNotified: node_m8jgdr0208:subscribe_node:success :: true

2023-03-18 22:44:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-18 22:44:27 | command: <data><node>node_m8jgdr0208</node><expire-at>2023-03-19T05:44:32Z</expire-at><entry><content>content_rq2lte0212</content></entry></data>

2023-03-18 22:44:27 | target: http://localhost:8088

2023-03-18 22:44:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-18 22:44:27 | entity: <data><node>node_m8jgdr0208</node><expire-at>2023-03-19T05:44:32Z</expire-at><entry><content>content_rq2lte0212</content></entry></data>

2023-03-18 22:44:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:44:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 22:44:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3279fc5f-3ded-489f-b5bd-c394b6f7c5e3</value></item-id></result>

2023-03-18 22:44:27 | contains: true

2023-03-18 22:44:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-18 22:44:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-18 22:44:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-18 22:44:35 | [Mutex] waiting for: [user_regular954gwp0207@test-domain.com:message:received:content_rq2lte0212]

2023-03-18 22:44:35 | [Mutex] waiting for: [user_regular954gwp0207@test-domain.com:message:received:content_rq2lte0212]

2023-03-18 22:44:50 | [Mutex] timeout. Not received [user_regular954gwp0207@test-domain.com:message:received:content_rq2lte0212]

2023-03-18 22:44:50 | [Mutex] received everything.

2023-03-18 22:44:50 | [Mutex] isItemNotified: user_regular954gwp0207@test-domain.com:message:received:content_rq2lte0212 :: false

2023-03-18 22:44:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rq2lte0212 :: true