Generated by TestNG with ReportNG at 22:46 PDT on Tuesday 11 July 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.653s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.588s
2023-07-11 23:01:06 |

2023-07-11 23:01:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-11 23:01:06 | ------------------------------------

2023-07-11 23:01:06 | [Mutex] isItemNotified: node_vik13j0208:exists :: false

2023-07-11 23:01:06 | [Mutex] waiting for: [node_vik13j0208:create_node]

2023-07-11 23:01:06 | [Mutex] received everything.

2023-07-11 23:01:06 | [Mutex] isItemNotified: node_vik13j0208:create_node:success :: true

2023-07-11 23:01:06 | [Mutex] waiting for: [node_vik13j0208:subscribe_node]

2023-07-11 23:01:06 | [Mutex] waiting for: [node_vik13j0208:subscribe_node]

2023-07-11 23:01:06 | [Mutex] received everything.

2023-07-11 23:01:06 | [Mutex] isItemNotified: node_vik13j0208:subscribe_node:success :: true

2023-07-11 23:01:06 |


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


2023-07-11 23:01:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 23:01:06 | command: <data><node>node_vik13j0208</node><entry><content>content_vqodw60209</content></entry></data>

2023-07-11 23:01:06 | target: http://localhost:8088

2023-07-11 23:01:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-11 23:01:06 | entity: <data><node>node_vik13j0208</node><entry><content>content_vqodw60209</content></entry></data>

2023-07-11 23:01:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 06:01:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 23:01:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f7f05537-eabc-423c-93f6-615f48ab6147</value></item-id></result>

2023-07-11 23:01:06 | contains: true

2023-07-11 23:01:06 | [Mutex] received everything.

2023-07-11 23:01:06 | [Mutex] isItemNotified: user_regularimhtuq0207@test-domain.com:message:received:content_vqodw60209 :: true

2023-07-11 23:01:06 |


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


2023-07-11 23:01:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 23:01:06 | command: <data><node>node_vik13j0208</node><expire-at>2023-07-12T06:01:01Z</expire-at><entry><content>content_irsy6n0210</content></entry></data>

2023-07-11 23:01:06 | target: http://localhost:8088

2023-07-11 23:01:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-11 23:01:06 | entity: <data><node>node_vik13j0208</node><expire-at>2023-07-12T06:01:01Z</expire-at><entry><content>content_irsy6n0210</content></entry></data>

2023-07-11 23:01:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 06:01:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 23:01:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>39ecd1e9-8c23-4cc2-bad5-8cc5800c7260</value></item-id></result>

2023-07-11 23:01:06 | contains: true

2023-07-11 23:01:06 | [Mutex] waiting for: [user_regularimhtuq0207@test-domain.com:message:received:content_irsy6n0210]

2023-07-11 23:01:21 | [Mutex] timeout. Not received [user_regularimhtuq0207@test-domain.com:message:received:content_irsy6n0210]

2023-07-11 23:01:21 | [Mutex] isItemNotified: user_regularimhtuq0207@test-domain.com:message:received:content_irsy6n0210 :: false

2023-07-11 23:01:21 |


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


2023-07-11 23:01:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 23:01:21 | command: <data><node>node_vik13j0208</node><entry><content>content_ght7010211</content></entry></data>

2023-07-11 23:01:21 | target: http://localhost:8088

2023-07-11 23:01:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-11 23:01:21 | entity: <data><node>node_vik13j0208</node><entry><content>content_ght7010211</content></entry></data>

2023-07-11 23:01:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 06:01:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 23:01:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aadbf046-a11c-4a60-ad18-613727e0c58d</value></item-id></result>

2023-07-11 23:01:21 | contains: true

2023-07-11 23:01:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-11 23:01:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-11 23:01:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-11 23:01:26 | [Mutex] waiting for: [user_regularimhtuq0207@test-domain.com:message:received:content_ght7010211]

2023-07-11 23:01:26 | [Mutex] waiting for: [user_regularimhtuq0207@test-domain.com:message:received:content_ght7010211]

2023-07-11 23:01:26 | [Mutex] received everything.

2023-07-11 23:01:26 | [Mutex] isItemNotified: user_regularimhtuq0207@test-domain.com:message:received:content_ght7010211 :: true

2023-07-11 23:01:26 |


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


2023-07-11 23:01:26 | [Mutex] received everything.

2023-07-11 23:01:26 | [Mutex] isItemNotified: node_vik13j0208:subscribe_node:success :: true

2023-07-11 23:01:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-11 23:01:26 | command: <data><node>node_vik13j0208</node><expire-at>2023-07-12T06:01:31Z</expire-at><entry><content>content_f0lj8n0212</content></entry></data>

2023-07-11 23:01:26 | target: http://localhost:8088

2023-07-11 23:01:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-11 23:01:26 | entity: <data><node>node_vik13j0208</node><expire-at>2023-07-12T06:01:31Z</expire-at><entry><content>content_f0lj8n0212</content></entry></data>

2023-07-11 23:01:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 12 Jul 2023 06:01:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-11 23:01:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>86c42623-7f5d-4b27-a21e-0a1c79d3782a</value></item-id></result>

2023-07-11 23:01:26 | contains: true

2023-07-11 23:01:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-11 23:01:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-07-11 23:01:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-11 23:01:34 | [Mutex] waiting for: [user_regularimhtuq0207@test-domain.com:message:received:content_f0lj8n0212]

2023-07-11 23:01:49 | [Mutex] timeout. Not received [user_regularimhtuq0207@test-domain.com:message:received:content_f0lj8n0212]

2023-07-11 23:01:49 | [Mutex] received everything.

2023-07-11 23:01:49 | [Mutex] isItemNotified: user_regularimhtuq0207@test-domain.com:message:received:content_f0lj8n0212 :: false

2023-07-11 23:01:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f0lj8n0212 :: true