Generated by TestNG with ReportNG at 08:53 PST on Monday 06 March 2023
root@f9c07ffec79b / 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.718s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.617s
2023-03-06 09:08:19 |

2023-03-06 09:08:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-06 09:08:19 | ------------------------------------

2023-03-06 09:08:19 | [Mutex] isItemNotified: node_3qns240208:exists :: false

2023-03-06 09:08:19 | [Mutex] waiting for: [node_3qns240208:create_node]

2023-03-06 09:08:19 | [Mutex] received everything.

2023-03-06 09:08:19 | [Mutex] isItemNotified: node_3qns240208:create_node:success :: true

2023-03-06 09:08:19 | [Mutex] waiting for: [node_3qns240208:subscribe_node]

2023-03-06 09:08:19 | [Mutex] waiting for: [node_3qns240208:subscribe_node]

2023-03-06 09:08:19 | [Mutex] received everything.

2023-03-06 09:08:19 | [Mutex] isItemNotified: node_3qns240208:subscribe_node:success :: true

2023-03-06 09:08:19 |


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


2023-03-06 09:08:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 09:08:19 | command: <data><node>node_3qns240208</node><entry><content>content_ktmgq60209</content></entry></data>

2023-03-06 09:08:19 | target: http://localhost:8088

2023-03-06 09:08:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-06 09:08:19 | entity: <data><node>node_3qns240208</node><entry><content>content_ktmgq60209</content></entry></data>

2023-03-06 09:08:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:08:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 09:08:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>08762e65-5aa2-48c5-b844-d5ec4c23cce6</value></item-id></result>

2023-03-06 09:08:19 | contains: true

2023-03-06 09:08:19 | [Mutex] waiting for: [user_regular31l5xl0207@test-domain.com:message:received:content_ktmgq60209]

2023-03-06 09:08:19 | [Mutex] received everything.

2023-03-06 09:08:19 | [Mutex] isItemNotified: user_regular31l5xl0207@test-domain.com:message:received:content_ktmgq60209 :: true

2023-03-06 09:08:19 |


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


2023-03-06 09:08:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 09:08:19 | command: <data><node>node_3qns240208</node><expire-at>2023-03-06T17:08:14Z</expire-at><entry><content>content_yntge60210</content></entry></data>

2023-03-06 09:08:19 | target: http://localhost:8088

2023-03-06 09:08:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-06 09:08:19 | entity: <data><node>node_3qns240208</node><expire-at>2023-03-06T17:08:14Z</expire-at><entry><content>content_yntge60210</content></entry></data>

2023-03-06 09:08:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:08:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 09:08:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>57fee5a7-336f-4561-b64d-a73297686452</value></item-id></result>

2023-03-06 09:08:19 | contains: true

2023-03-06 09:08:19 | [Mutex] waiting for: [user_regular31l5xl0207@test-domain.com:message:received:content_yntge60210]

2023-03-06 09:08:34 | [Mutex] timeout. Not received [user_regular31l5xl0207@test-domain.com:message:received:content_yntge60210]

2023-03-06 09:08:34 | [Mutex] isItemNotified: user_regular31l5xl0207@test-domain.com:message:received:content_yntge60210 :: false

2023-03-06 09:08:34 |


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


2023-03-06 09:08:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 09:08:34 | command: <data><node>node_3qns240208</node><entry><content>content_yxx4ef0211</content></entry></data>

2023-03-06 09:08:34 | target: http://localhost:8088

2023-03-06 09:08:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-06 09:08:34 | entity: <data><node>node_3qns240208</node><entry><content>content_yxx4ef0211</content></entry></data>

2023-03-06 09:08:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:08:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 09:08:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2fb524b2-bbc6-4ece-b090-9e4bd9766803</value></item-id></result>

2023-03-06 09:08:34 | contains: true

2023-03-06 09:08:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-06 09:08:40 | [Mutex] waiting for: [user_regular31l5xl0207@test-domain.com:message:received:content_yxx4ef0211]

2023-03-06 09:08:40 | [Mutex] waiting for: [user_regular31l5xl0207@test-domain.com:message:received:content_yxx4ef0211]

2023-03-06 09:08:40 | [Mutex] received everything.

2023-03-06 09:08:40 | [Mutex] isItemNotified: user_regular31l5xl0207@test-domain.com:message:received:content_yxx4ef0211 :: true

2023-03-06 09:08:40 |


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


2023-03-06 09:08:40 | [Mutex] received everything.

2023-03-06 09:08:40 | [Mutex] isItemNotified: node_3qns240208:subscribe_node:success :: true

2023-03-06 09:08:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-06 09:08:40 | command: <data><node>node_3qns240208</node><expire-at>2023-03-06T17:08:45Z</expire-at><entry><content>content_bgxsv20212</content></entry></data>

2023-03-06 09:08:40 | target: http://localhost:8088

2023-03-06 09:08:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-06 09:08:40 | entity: <data><node>node_3qns240208</node><expire-at>2023-03-06T17:08:45Z</expire-at><entry><content>content_bgxsv20212</content></entry></data>

2023-03-06 09:08:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 17:08:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-06 09:08:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c86b7de-16c2-4c05-9531-7e6459504257</value></item-id></result>

2023-03-06 09:08:40 | contains: true

2023-03-06 09:08:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-06 09:08:48 | [Mutex] waiting for: [user_regular31l5xl0207@test-domain.com:message:received:content_bgxsv20212]

2023-03-06 09:08:48 | [Mutex] waiting for: [user_regular31l5xl0207@test-domain.com:message:received:content_bgxsv20212]

2023-03-06 09:08:48 | [Mutex] waiting for: [user_regular31l5xl0207@test-domain.com:message:received:content_bgxsv20212]

2023-03-06 09:09:03 | [Mutex] timeout. Not received [user_regular31l5xl0207@test-domain.com:message:received:content_bgxsv20212]

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

2023-03-06 09:09:03 | [Mutex] isItemNotified: user_regular31l5xl0207@test-domain.com:message:received:content_bgxsv20212 :: false

2023-03-06 09:09:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bgxsv20212 :: true