Generated by TestNG with ReportNG at 07:34 PST on Monday 06 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.715s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.668s
2023-03-06 07:49:22 |

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

2023-03-06 07:49:22 | ------------------------------------

2023-03-06 07:49:22 | [Mutex] isItemNotified: node_3ibhel0208:exists :: false

2023-03-06 07:49:22 | [Mutex] waiting for: [node_3ibhel0208:create_node]

2023-03-06 07:49:22 | [Mutex] received everything.

2023-03-06 07:49:22 | [Mutex] isItemNotified: node_3ibhel0208:create_node:success :: true

2023-03-06 07:49:22 | [Mutex] waiting for: [node_3ibhel0208:subscribe_node]

2023-03-06 07:49:22 | [Mutex] received everything.

2023-03-06 07:49:22 | [Mutex] isItemNotified: node_3ibhel0208:subscribe_node:success :: true

2023-03-06 07:49:22 |


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


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

2023-03-06 07:49:22 | command: <data><node>node_3ibhel0208</node><entry><content>content_3r6ab40209</content></entry></data>

2023-03-06 07:49:22 | target: http://localhost:8088

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

2023-03-06 07:49:22 | entity: <data><node>node_3ibhel0208</node><entry><content>content_3r6ab40209</content></entry></data>

2023-03-06 07:49:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:49:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:49:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff534f7a-3592-40d2-abd1-7448a63981f8</value></item-id></result>

2023-03-06 07:49:22 | contains: true

2023-03-06 07:49:22 | [Mutex] waiting for: [user_regular9obxk60207@test-domain.com:message:received:content_3r6ab40209]

2023-03-06 07:49:22 | [Mutex] received everything.

2023-03-06 07:49:22 | [Mutex] isItemNotified: user_regular9obxk60207@test-domain.com:message:received:content_3r6ab40209 :: true

2023-03-06 07:49:22 |


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


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

2023-03-06 07:49:22 | command: <data><node>node_3ibhel0208</node><expire-at>2023-03-06T15:49:17Z</expire-at><entry><content>content_jizbqv0210</content></entry></data>

2023-03-06 07:49:22 | target: http://localhost:8088

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

2023-03-06 07:49:22 | entity: <data><node>node_3ibhel0208</node><expire-at>2023-03-06T15:49:17Z</expire-at><entry><content>content_jizbqv0210</content></entry></data>

2023-03-06 07:49:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:49:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:49:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>68b62da5-5751-45c1-a160-f9138a3c4327</value></item-id></result>

2023-03-06 07:49:22 | contains: true

2023-03-06 07:49:22 | [Mutex] waiting for: [user_regular9obxk60207@test-domain.com:message:received:content_jizbqv0210]

2023-03-06 07:49:37 | [Mutex] timeout. Not received [user_regular9obxk60207@test-domain.com:message:received:content_jizbqv0210]

2023-03-06 07:49:37 | [Mutex] isItemNotified: user_regular9obxk60207@test-domain.com:message:received:content_jizbqv0210 :: false

2023-03-06 07:49:37 |


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


2023-03-06 07:49:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:49:37 | command: <data><node>node_3ibhel0208</node><entry><content>content_5zfwf00211</content></entry></data>

2023-03-06 07:49:37 | target: http://localhost:8088

2023-03-06 07:49:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-06 07:49:37 | entity: <data><node>node_3ibhel0208</node><entry><content>content_5zfwf00211</content></entry></data>

2023-03-06 07:49:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:49:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:49:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>40206182-aa3d-447f-95e4-791ee26ac2f7</value></item-id></result>

2023-03-06 07:49:37 | contains: true

2023-03-06 07:49:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-06 07:49:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-06 07:49:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-06 07:49:43 | [Mutex] waiting for: [user_regular9obxk60207@test-domain.com:message:received:content_5zfwf00211]

2023-03-06 07:49:43 | [Mutex] waiting for: [user_regular9obxk60207@test-domain.com:message:received:content_5zfwf00211]

2023-03-06 07:49:43 | [Mutex] received everything.

2023-03-06 07:49:43 | [Mutex] isItemNotified: user_regular9obxk60207@test-domain.com:message:received:content_5zfwf00211 :: true

2023-03-06 07:49:43 |


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


2023-03-06 07:49:43 | [Mutex] received everything.

2023-03-06 07:49:43 | [Mutex] isItemNotified: node_3ibhel0208:subscribe_node:success :: true

2023-03-06 07:49:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 07:49:43 | command: <data><node>node_3ibhel0208</node><expire-at>2023-03-06T15:49:48Z</expire-at><entry><content>content_kw21a30212</content></entry></data>

2023-03-06 07:49:43 | target: http://localhost:8088

2023-03-06 07:49:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-06 07:49:43 | entity: <data><node>node_3ibhel0208</node><expire-at>2023-03-06T15:49:48Z</expire-at><entry><content>content_kw21a30212</content></entry></data>

2023-03-06 07:49:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 15:49:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 07:49:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>03ecba8d-1bd5-4a74-af73-bbab9397f5a1</value></item-id></result>

2023-03-06 07:49:43 | contains: true

2023-03-06 07:49:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-06 07:49:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-06 07:49:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-06 07:49:51 | [Mutex] waiting for: [user_regular9obxk60207@test-domain.com:message:received:content_kw21a30212]

2023-03-06 07:49:51 | [Mutex] waiting for: [user_regular9obxk60207@test-domain.com:message:received:content_kw21a30212]

2023-03-06 07:49:51 | [Mutex] waiting for: [user_regular9obxk60207@test-domain.com:message:received:content_kw21a30212]

2023-03-06 07:50:06 | [Mutex] timeout. Not received [user_regular9obxk60207@test-domain.com:message:received:content_kw21a30212]

2023-03-06 07:50:06 | [Mutex] received everything.

2023-03-06 07:50:06 | [Mutex] isItemNotified: user_regular9obxk60207@test-domain.com:message:received:content_kw21a30212 :: false

2023-03-06 07:50:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kw21a30212 :: true