Generated by TestNG with ReportNG at 22:45 PDT on Thursday 22 June 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.725s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.629s
2023-06-22 23:00:11 |

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

2023-06-22 23:00:11 | ------------------------------------

2023-06-22 23:00:11 | [Mutex] isItemNotified: node_935ylm0208:exists :: false

2023-06-22 23:00:11 | [Mutex] waiting for: [node_935ylm0208:create_node]

2023-06-22 23:00:11 | [Mutex] received everything.

2023-06-22 23:00:11 | [Mutex] isItemNotified: node_935ylm0208:create_node:success :: true

2023-06-22 23:00:11 | [Mutex] waiting for: [node_935ylm0208:subscribe_node]

2023-06-22 23:00:11 | [Mutex] waiting for: [node_935ylm0208:subscribe_node]

2023-06-22 23:00:11 | [Mutex] received everything.

2023-06-22 23:00:11 | [Mutex] isItemNotified: node_935ylm0208:subscribe_node:success :: true

2023-06-22 23:00:11 |


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


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

2023-06-22 23:00:11 | command: <data><node>node_935ylm0208</node><entry><content>content_4kmxem0209</content></entry></data>

2023-06-22 23:00:11 | target: http://localhost:8088

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

2023-06-22 23:00:11 | entity: <data><node>node_935ylm0208</node><entry><content>content_4kmxem0209</content></entry></data>

2023-06-22 23:00:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 06:00:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 23:00:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a8a58e09-3ccc-4153-8c93-46ed7d873f8d</value></item-id></result>

2023-06-22 23:00:11 | contains: true

2023-06-22 23:00:11 | [Mutex] waiting for: [user_regular2rwo130207@test-domain.com:message:received:content_4kmxem0209]

2023-06-22 23:00:11 | [Mutex] received everything.

2023-06-22 23:00:11 | [Mutex] isItemNotified: user_regular2rwo130207@test-domain.com:message:received:content_4kmxem0209 :: true

2023-06-22 23:00:11 |


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


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

2023-06-22 23:00:11 | command: <data><node>node_935ylm0208</node><expire-at>2023-06-23T06:00:06Z</expire-at><entry><content>content_8cs9my0210</content></entry></data>

2023-06-22 23:00:11 | target: http://localhost:8088

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

2023-06-22 23:00:11 | entity: <data><node>node_935ylm0208</node><expire-at>2023-06-23T06:00:06Z</expire-at><entry><content>content_8cs9my0210</content></entry></data>

2023-06-22 23:00:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 06:00:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 23:00:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b96bdeeb-a5ab-4de5-a711-0b01dbebfc6b</value></item-id></result>

2023-06-22 23:00:11 | contains: true

2023-06-22 23:00:11 | [Mutex] waiting for: [user_regular2rwo130207@test-domain.com:message:received:content_8cs9my0210]

2023-06-22 23:00:26 | [Mutex] timeout. Not received [user_regular2rwo130207@test-domain.com:message:received:content_8cs9my0210]

2023-06-22 23:00:26 | [Mutex] isItemNotified: user_regular2rwo130207@test-domain.com:message:received:content_8cs9my0210 :: false

2023-06-22 23:00:26 |


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


2023-06-22 23:00:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-22 23:00:26 | command: <data><node>node_935ylm0208</node><entry><content>content_gq2ukj0211</content></entry></data>

2023-06-22 23:00:26 | target: http://localhost:8088

2023-06-22 23:00:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-22 23:00:26 | entity: <data><node>node_935ylm0208</node><entry><content>content_gq2ukj0211</content></entry></data>

2023-06-22 23:00:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 06:00:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 23:00:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e30bb831-094c-4870-b11c-224b324159fb</value></item-id></result>

2023-06-22 23:00:26 | contains: true

2023-06-22 23:00:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-06-22 23:00:32 | [Mutex] waiting for: [user_regular2rwo130207@test-domain.com:message:received:content_gq2ukj0211]

2023-06-22 23:00:32 | [Mutex] waiting for: [user_regular2rwo130207@test-domain.com:message:received:content_gq2ukj0211]

2023-06-22 23:00:32 | [Mutex] received everything.

2023-06-22 23:00:32 | [Mutex] isItemNotified: user_regular2rwo130207@test-domain.com:message:received:content_gq2ukj0211 :: true

2023-06-22 23:00:32 |


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


2023-06-22 23:00:32 | [Mutex] received everything.

2023-06-22 23:00:32 | [Mutex] isItemNotified: node_935ylm0208:subscribe_node:success :: true

2023-06-22 23:00:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-22 23:00:32 | command: <data><node>node_935ylm0208</node><expire-at>2023-06-23T06:00:37Z</expire-at><entry><content>content_g3bon0212</content></entry></data>

2023-06-22 23:00:32 | target: http://localhost:8088

2023-06-22 23:00:32 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-06-22 23:00:32 | entity: <data><node>node_935ylm0208</node><expire-at>2023-06-23T06:00:37Z</expire-at><entry><content>content_g3bon0212</content></entry></data>

2023-06-22 23:00:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 06:00:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 23:00:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7520b12b-d36d-4022-aefa-0255f61429f5</value></item-id></result>

2023-06-22 23:00:32 | contains: true

2023-06-22 23:00:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-06-22 23:00:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-06-22 23:00:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-06-22 23:00:40 | [Mutex] waiting for: [user_regular2rwo130207@test-domain.com:message:received:content_g3bon0212]

2023-06-22 23:00:55 | [Mutex] timeout. Not received [user_regular2rwo130207@test-domain.com:message:received:content_g3bon0212]

2023-06-22 23:00:55 | [Mutex] received everything.

2023-06-22 23:00:55 | [Mutex] isItemNotified: user_regular2rwo130207@test-domain.com:message:received:content_g3bon0212 :: false

2023-06-22 23:00:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_g3bon0212 :: true