Generated by TestNG with ReportNG at 22:45 PDT on Friday 24 March 2023
root@ed1b7dd8a1b3 / 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.601s
2023-03-24 23:00:34 |

2023-03-24 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-24 23:00:34 | ------------------------------------

2023-03-24 23:00:34 | [Mutex] isItemNotified: node_6e7aev0208:exists :: false

2023-03-24 23:00:34 | [Mutex] waiting for: [node_6e7aev0208:create_node]

2023-03-24 23:00:34 | [Mutex] waiting for: [node_6e7aev0208:create_node]

2023-03-24 23:00:34 | [Mutex] received everything.

2023-03-24 23:00:34 | [Mutex] isItemNotified: node_6e7aev0208:create_node:success :: true

2023-03-24 23:00:34 | [Mutex] waiting for: [node_6e7aev0208:subscribe_node]

2023-03-24 23:00:34 | [Mutex] waiting for: [node_6e7aev0208:subscribe_node]

2023-03-24 23:00:34 | [Mutex] received everything.

2023-03-24 23:00:34 | [Mutex] isItemNotified: node_6e7aev0208:subscribe_node:success :: true

2023-03-24 23:00:34 |


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


2023-03-24 23:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 23:00:34 | command: <data><node>node_6e7aev0208</node><entry><content>content_j4ij1t0209</content></entry></data>

2023-03-24 23:00:34 | target: http://localhost:8088

2023-03-24 23:00:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-24 23:00:34 | entity: <data><node>node_6e7aev0208</node><entry><content>content_j4ij1t0209</content></entry></data>

2023-03-24 23:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 06:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 23:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff52b283-1b16-440c-a6f7-68a26d45b504</value></item-id></result>

2023-03-24 23:00:34 | contains: true

2023-03-24 23:00:34 | [Mutex] received everything.

2023-03-24 23:00:34 | [Mutex] isItemNotified: user_regularf95syq0207@test-domain.com:message:received:content_j4ij1t0209 :: true

2023-03-24 23:00:34 |


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


2023-03-24 23:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 23:00:34 | command: <data><node>node_6e7aev0208</node><expire-at>2023-03-25T06:00:29Z</expire-at><entry><content>content_mc96wu0210</content></entry></data>

2023-03-24 23:00:34 | target: http://localhost:8088

2023-03-24 23:00:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-24 23:00:34 | entity: <data><node>node_6e7aev0208</node><expire-at>2023-03-25T06:00:29Z</expire-at><entry><content>content_mc96wu0210</content></entry></data>

2023-03-24 23:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 06:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 23:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a29204d8-c968-4bd7-9ea5-442da5b55c69</value></item-id></result>

2023-03-24 23:00:34 | contains: true

2023-03-24 23:00:34 | [Mutex] waiting for: [user_regularf95syq0207@test-domain.com:message:received:content_mc96wu0210]

2023-03-24 23:00:49 | [Mutex] timeout. Not received [user_regularf95syq0207@test-domain.com:message:received:content_mc96wu0210]

2023-03-24 23:00:49 | [Mutex] isItemNotified: user_regularf95syq0207@test-domain.com:message:received:content_mc96wu0210 :: false

2023-03-24 23:00:49 |


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


2023-03-24 23:00:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 23:00:49 | command: <data><node>node_6e7aev0208</node><entry><content>content_q039n60211</content></entry></data>

2023-03-24 23:00:49 | target: http://localhost:8088

2023-03-24 23:00:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-24 23:00:49 | entity: <data><node>node_6e7aev0208</node><entry><content>content_q039n60211</content></entry></data>

2023-03-24 23:00:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 06:00:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 23:00:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a02746d0-cfe4-4ae1-b511-7601fa1f0379</value></item-id></result>

2023-03-24 23:00:49 | contains: true

2023-03-24 23:00:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-24 23:00:54 | [Mutex] waiting for: [user_regularf95syq0207@test-domain.com:message:received:content_q039n60211]

2023-03-24 23:00:54 | [Mutex] waiting for: [user_regularf95syq0207@test-domain.com:message:received:content_q039n60211]

2023-03-24 23:00:54 | [Mutex] received everything.

2023-03-24 23:00:54 | [Mutex] isItemNotified: user_regularf95syq0207@test-domain.com:message:received:content_q039n60211 :: true

2023-03-24 23:00:54 |


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


2023-03-24 23:00:54 | [Mutex] received everything.

2023-03-24 23:00:54 | [Mutex] isItemNotified: node_6e7aev0208:subscribe_node:success :: true

2023-03-24 23:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 23:00:54 | command: <data><node>node_6e7aev0208</node><expire-at>2023-03-25T06:00:59Z</expire-at><entry><content>content_6e20fx0212</content></entry></data>

2023-03-24 23:00:54 | target: http://localhost:8088

2023-03-24 23:00:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-24 23:00:54 | entity: <data><node>node_6e7aev0208</node><expire-at>2023-03-25T06:00:59Z</expire-at><entry><content>content_6e20fx0212</content></entry></data>

2023-03-24 23:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 06:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 23:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0b9722fc-df12-48c9-9d77-756eac6c6ac0</value></item-id></result>

2023-03-24 23:00:54 | contains: true

2023-03-24 23:01:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-24 23:01:02 | [Mutex] waiting for: [user_regularf95syq0207@test-domain.com:message:received:content_6e20fx0212]

2023-03-24 23:01:02 | [Mutex] waiting for: [user_regularf95syq0207@test-domain.com:message:received:content_6e20fx0212]

2023-03-24 23:01:02 | [Mutex] waiting for: [user_regularf95syq0207@test-domain.com:message:received:content_6e20fx0212]

2023-03-24 23:01:17 | [Mutex] timeout. Not received [user_regularf95syq0207@test-domain.com:message:received:content_6e20fx0212]

2023-03-24 23:01:17 | [Mutex] received everything.

2023-03-24 23:01:17 | [Mutex] isItemNotified: user_regularf95syq0207@test-domain.com:message:received:content_6e20fx0212 :: false

2023-03-24 23:01:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6e20fx0212 :: true