Generated by TestNG with ReportNG at 21:50 PST on Friday 17 February 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.725s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.521s
2023-02-17 22:05:42 |

2023-02-17 22:05:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-17 22:05:42 | ------------------------------------

2023-02-17 22:05:42 | [Mutex] isItemNotified: node_aibyea0204:exists :: false

2023-02-17 22:05:42 | [Mutex] waiting for: [node_aibyea0204:create_node]

2023-02-17 22:05:42 | [Mutex] waiting for: [node_aibyea0204:create_node]

2023-02-17 22:05:42 | [Mutex] received everything.

2023-02-17 22:05:42 | [Mutex] isItemNotified: node_aibyea0204:create_node:success :: true

2023-02-17 22:05:42 | [Mutex] waiting for: [node_aibyea0204:subscribe_node]

2023-02-17 22:05:42 | [Mutex] waiting for: [node_aibyea0204:subscribe_node]

2023-02-17 22:05:42 | [Mutex] received everything.

2023-02-17 22:05:42 | [Mutex] isItemNotified: node_aibyea0204:subscribe_node:success :: true

2023-02-17 22:05:42 |


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


2023-02-17 22:05:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-17 22:05:42 | command: <data><node>node_aibyea0204</node><entry><content>content_xce5qu0205</content></entry></data>

2023-02-17 22:05:42 | target: http://localhost:8088

2023-02-17 22:05:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-17 22:05:42 | entity: <data><node>node_aibyea0204</node><entry><content>content_xce5qu0205</content></entry></data>

2023-02-17 22:05:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 06:05:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-17 22:05:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7053b618-f21a-4b0b-b1ed-77b778a6f8ee</value></item-id></result>

2023-02-17 22:05:42 | contains: true

2023-02-17 22:05:42 | [Mutex] received everything.

2023-02-17 22:05:42 | [Mutex] isItemNotified: user_regularpcvcii0203@test-domain.com:message:received:content_xce5qu0205 :: true

2023-02-17 22:05:42 |


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


2023-02-17 22:05:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-17 22:05:42 | command: <data><node>node_aibyea0204</node><expire-at>2023-02-18T06:05:37Z</expire-at><entry><content>content_or07w10206</content></entry></data>

2023-02-17 22:05:42 | target: http://localhost:8088

2023-02-17 22:05:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-17 22:05:42 | entity: <data><node>node_aibyea0204</node><expire-at>2023-02-18T06:05:37Z</expire-at><entry><content>content_or07w10206</content></entry></data>

2023-02-17 22:05:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 06:05:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-17 22:05:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55953f38-7e19-4fc3-aceb-b0b50bb7fc88</value></item-id></result>

2023-02-17 22:05:42 | contains: true

2023-02-17 22:05:42 | [Mutex] waiting for: [user_regularpcvcii0203@test-domain.com:message:received:content_or07w10206]

2023-02-17 22:05:57 | [Mutex] timeout. Not received [user_regularpcvcii0203@test-domain.com:message:received:content_or07w10206]

2023-02-17 22:05:57 | [Mutex] isItemNotified: user_regularpcvcii0203@test-domain.com:message:received:content_or07w10206 :: false

2023-02-17 22:05:57 |


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


2023-02-17 22:05:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-17 22:05:57 | command: <data><node>node_aibyea0204</node><entry><content>content_n486c0207</content></entry></data>

2023-02-17 22:05:57 | target: http://localhost:8088

2023-02-17 22:05:57 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2023-02-17 22:05:57 | entity: <data><node>node_aibyea0204</node><entry><content>content_n486c0207</content></entry></data>

2023-02-17 22:05:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 06:05:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-17 22:05:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>20fa1070-df73-4129-a15f-8cff318ccf5f</value></item-id></result>

2023-02-17 22:05:57 | contains: true

2023-02-17 22:06:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-02-17 22:06:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-17 22:06:03 | [Mutex] waiting for: [user_regularpcvcii0203@test-domain.com:message:received:content_n486c0207]

2023-02-17 22:06:03 | [Mutex] waiting for: [user_regularpcvcii0203@test-domain.com:message:received:content_n486c0207]

2023-02-17 22:06:03 | [Mutex] received everything.

2023-02-17 22:06:03 | [Mutex] isItemNotified: user_regularpcvcii0203@test-domain.com:message:received:content_n486c0207 :: true

2023-02-17 22:06:03 |


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


2023-02-17 22:06:03 | [Mutex] received everything.

2023-02-17 22:06:03 | [Mutex] isItemNotified: node_aibyea0204:subscribe_node:success :: true

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

2023-02-17 22:06:03 | command: <data><node>node_aibyea0204</node><expire-at>2023-02-18T06:06:08Z</expire-at><entry><content>content_kov20d0208</content></entry></data>

2023-02-17 22:06:03 | target: http://localhost:8088

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

2023-02-17 22:06:03 | entity: <data><node>node_aibyea0204</node><expire-at>2023-02-18T06:06:08Z</expire-at><entry><content>content_kov20d0208</content></entry></data>

2023-02-17 22:06:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Feb 2023 06:06:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-17 22:06:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c8611488-bd96-4a11-8d1a-d3b5a9ef5997</value></item-id></result>

2023-02-17 22:06:03 | contains: true

2023-02-17 22:06:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-17 22:06:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-17 22:06:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-17 22:06:11 | [Mutex] waiting for: [user_regularpcvcii0203@test-domain.com:message:received:content_kov20d0208]

2023-02-17 22:06:26 | [Mutex] timeout. Not received [user_regularpcvcii0203@test-domain.com:message:received:content_kov20d0208]

2023-02-17 22:06:26 | [Mutex] received everything.

2023-02-17 22:06:26 | [Mutex] isItemNotified: user_regularpcvcii0203@test-domain.com:message:received:content_kov20d0208 :: false

2023-02-17 22:06:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kov20d0208 :: true