Generated by TestNG with ReportNG at 22:16 PDT on Monday 29 May 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.656s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.578s
2023-05-29 22:31:07 |

2023-05-29 22:31:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-29 22:31:07 | ------------------------------------

2023-05-29 22:31:07 | [Mutex] isItemNotified: node_xpfp010208:exists :: false

2023-05-29 22:31:07 | [Mutex] waiting for: [node_xpfp010208:create_node]

2023-05-29 22:31:07 | [Mutex] received everything.

2023-05-29 22:31:07 | [Mutex] isItemNotified: node_xpfp010208:create_node:success :: true

2023-05-29 22:31:07 | [Mutex] waiting for: [node_xpfp010208:subscribe_node]

2023-05-29 22:31:07 | [Mutex] waiting for: [node_xpfp010208:subscribe_node]

2023-05-29 22:31:07 | [Mutex] received everything.

2023-05-29 22:31:07 | [Mutex] isItemNotified: node_xpfp010208:subscribe_node:success :: true

2023-05-29 22:31:07 |


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


2023-05-29 22:31:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 22:31:07 | command: <data><node>node_xpfp010208</node><entry><content>content_871z5v0209</content></entry></data>

2023-05-29 22:31:07 | target: http://localhost:8088

2023-05-29 22:31:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-29 22:31:07 | entity: <data><node>node_xpfp010208</node><entry><content>content_871z5v0209</content></entry></data>

2023-05-29 22:31:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:31:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 22:31:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>393af0f8-be3f-4bf2-a506-066bc6fabf6f</value></item-id></result>

2023-05-29 22:31:07 | contains: true

2023-05-29 22:31:07 | [Mutex] received everything.

2023-05-29 22:31:07 | [Mutex] isItemNotified: user_regular7hsl880207@test-domain.com:message:received:content_871z5v0209 :: true

2023-05-29 22:31:07 |


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


2023-05-29 22:31:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 22:31:07 | command: <data><node>node_xpfp010208</node><expire-at>2023-05-30T05:31:02Z</expire-at><entry><content>content_jzw9ku0210</content></entry></data>

2023-05-29 22:31:07 | target: http://localhost:8088

2023-05-29 22:31:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-29 22:31:07 | entity: <data><node>node_xpfp010208</node><expire-at>2023-05-30T05:31:02Z</expire-at><entry><content>content_jzw9ku0210</content></entry></data>

2023-05-29 22:31:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:31:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 22:31:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>15a85372-e091-42a5-a50e-3f9a4887fd66</value></item-id></result>

2023-05-29 22:31:08 | contains: true

2023-05-29 22:31:08 | [Mutex] waiting for: [user_regular7hsl880207@test-domain.com:message:received:content_jzw9ku0210]

2023-05-29 22:31:23 | [Mutex] timeout. Not received [user_regular7hsl880207@test-domain.com:message:received:content_jzw9ku0210]

2023-05-29 22:31:23 | [Mutex] isItemNotified: user_regular7hsl880207@test-domain.com:message:received:content_jzw9ku0210 :: false

2023-05-29 22:31:23 |


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


2023-05-29 22:31:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 22:31:23 | command: <data><node>node_xpfp010208</node><entry><content>content_bckz1m0211</content></entry></data>

2023-05-29 22:31:23 | target: http://localhost:8088

2023-05-29 22:31:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-29 22:31:23 | entity: <data><node>node_xpfp010208</node><entry><content>content_bckz1m0211</content></entry></data>

2023-05-29 22:31:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:31:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 22:31:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc60763a-b64f-4d60-950a-0f52d33a5964</value></item-id></result>

2023-05-29 22:31:23 | contains: true

2023-05-29 22:31:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-29 22:31:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-05-29 22:31:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-29 22:31:28 | [Mutex] waiting for: [user_regular7hsl880207@test-domain.com:message:received:content_bckz1m0211]

2023-05-29 22:31:28 | [Mutex] waiting for: [user_regular7hsl880207@test-domain.com:message:received:content_bckz1m0211]

2023-05-29 22:31:28 | [Mutex] received everything.

2023-05-29 22:31:28 | [Mutex] isItemNotified: user_regular7hsl880207@test-domain.com:message:received:content_bckz1m0211 :: true

2023-05-29 22:31:28 |


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


2023-05-29 22:31:28 | [Mutex] received everything.

2023-05-29 22:31:28 | [Mutex] isItemNotified: node_xpfp010208:subscribe_node:success :: true

2023-05-29 22:31:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 22:31:28 | command: <data><node>node_xpfp010208</node><expire-at>2023-05-30T05:31:33Z</expire-at><entry><content>content_9crxiy0212</content></entry></data>

2023-05-29 22:31:28 | target: http://localhost:8088

2023-05-29 22:31:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-29 22:31:28 | entity: <data><node>node_xpfp010208</node><expire-at>2023-05-30T05:31:33Z</expire-at><entry><content>content_9crxiy0212</content></entry></data>

2023-05-29 22:31:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:31:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 22:31:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0d30fb7f-1502-4fa3-843b-6842b75361e7</value></item-id></result>

2023-05-29 22:31:28 | contains: true

2023-05-29 22:31:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-29 22:31:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-05-29 22:31:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-29 22:31:36 | [Mutex] waiting for: [user_regular7hsl880207@test-domain.com:message:received:content_9crxiy0212]

2023-05-29 22:31:51 | [Mutex] timeout. Not received [user_regular7hsl880207@test-domain.com:message:received:content_9crxiy0212]

2023-05-29 22:31:51 | [Mutex] received everything.

2023-05-29 22:31:51 | [Mutex] isItemNotified: user_regular7hsl880207@test-domain.com:message:received:content_9crxiy0212 :: false

2023-05-29 22:31:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9crxiy0212 :: true