Generated by TestNG with ReportNG at 22:48 PDT on Thursday 25 August 2022
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.584s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.661s
2022-08-25 23:15:15 |

2022-08-25 23:15:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-25 23:15:15 | ------------------------------------

2022-08-25 23:15:15 | [Mutex] isItemNotified: node_6uheh50204:exists :: false

2022-08-25 23:15:15 | [Mutex] waiting for: [node_6uheh50204:create_node]

2022-08-25 23:15:15 | [Mutex] received everything.

2022-08-25 23:15:15 | [Mutex] isItemNotified: node_6uheh50204:create_node:success :: true

2022-08-25 23:15:15 | [Mutex] waiting for: [node_6uheh50204:subscribe_node]

2022-08-25 23:15:15 | [Mutex] received everything.

2022-08-25 23:15:15 | [Mutex] isItemNotified: node_6uheh50204:subscribe_node:success :: true

2022-08-25 23:15:15 |


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


2022-08-25 23:15:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-25 23:15:15 | command: <data><node>node_6uheh50204</node><entry><content>content_xdguqc0205</content></entry></data>

2022-08-25 23:15:15 | target: http://localhost:8088

2022-08-25 23:15:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-25 23:15:15 | entity: <data><node>node_6uheh50204</node><entry><content>content_xdguqc0205</content></entry></data>

2022-08-25 23:15:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 06:15:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-25 23:15:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e865d692-4f6f-4df4-a917-ae1e74da48d2</value></item-id></result>

2022-08-25 23:15:15 | contains: true

2022-08-25 23:15:15 | [Mutex] received everything.

2022-08-25 23:15:15 | [Mutex] isItemNotified: user_regular6el04q0203@test-domain.com:message:received:content_xdguqc0205 :: true

2022-08-25 23:15:15 |


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


2022-08-25 23:15:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-25 23:15:15 | command: <data><node>node_6uheh50204</node><expire-at>2022-08-26T06:15:10Z</expire-at><entry><content>content_vmxwyz0206</content></entry></data>

2022-08-25 23:15:15 | target: http://localhost:8088

2022-08-25 23:15:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-25 23:15:15 | entity: <data><node>node_6uheh50204</node><expire-at>2022-08-26T06:15:10Z</expire-at><entry><content>content_vmxwyz0206</content></entry></data>

2022-08-25 23:15:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 06:15:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-25 23:15:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2d8f500e-9a5b-4df4-947e-a9a9734c4d73</value></item-id></result>

2022-08-25 23:15:15 | contains: true

2022-08-25 23:15:15 | [Mutex] waiting for: [user_regular6el04q0203@test-domain.com:message:received:content_vmxwyz0206]

2022-08-25 23:15:30 | [Mutex] timeout. Not received [user_regular6el04q0203@test-domain.com:message:received:content_vmxwyz0206]

2022-08-25 23:15:30 | [Mutex] isItemNotified: user_regular6el04q0203@test-domain.com:message:received:content_vmxwyz0206 :: false

2022-08-25 23:15:30 |


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


2022-08-25 23:15:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-25 23:15:30 | command: <data><node>node_6uheh50204</node><entry><content>content_yckgx00207</content></entry></data>

2022-08-25 23:15:30 | target: http://localhost:8088

2022-08-25 23:15:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-25 23:15:30 | entity: <data><node>node_6uheh50204</node><entry><content>content_yckgx00207</content></entry></data>

2022-08-25 23:15:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 06:15:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-25 23:15:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1eff1317-0134-466f-8d45-7100fdcf53d3</value></item-id></result>

2022-08-25 23:15:30 | contains: true

2022-08-25 23:15:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-25 23:15:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-25 23:15:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-25 23:15:35 | [Mutex] waiting for: [user_regular6el04q0203@test-domain.com:message:received:content_yckgx00207]

2022-08-25 23:15:35 | [Mutex] received everything.

2022-08-25 23:15:35 | [Mutex] isItemNotified: user_regular6el04q0203@test-domain.com:message:received:content_yckgx00207 :: true

2022-08-25 23:15:35 |


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


2022-08-25 23:15:35 | [Mutex] received everything.

2022-08-25 23:15:35 | [Mutex] isItemNotified: node_6uheh50204:subscribe_node:success :: true

2022-08-25 23:15:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-25 23:15:35 | command: <data><node>node_6uheh50204</node><expire-at>2022-08-26T06:15:40Z</expire-at><entry><content>content_ibd3az0208</content></entry></data>

2022-08-25 23:15:35 | target: http://localhost:8088

2022-08-25 23:15:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-25 23:15:35 | entity: <data><node>node_6uheh50204</node><expire-at>2022-08-26T06:15:40Z</expire-at><entry><content>content_ibd3az0208</content></entry></data>

2022-08-25 23:15:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 06:15:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-25 23:15:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05185932-50e9-44ab-920b-11b5b287b72e</value></item-id></result>

2022-08-25 23:15:35 | contains: true

2022-08-25 23:15:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-25 23:15:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-25 23:15:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-25 23:15:43 | [Mutex] waiting for: [user_regular6el04q0203@test-domain.com:message:received:content_ibd3az0208]

2022-08-25 23:15:43 | [Mutex] waiting for: [user_regular6el04q0203@test-domain.com:message:received:content_ibd3az0208]

2022-08-25 23:15:58 | [Mutex] timeout. Not received [user_regular6el04q0203@test-domain.com:message:received:content_ibd3az0208]

2022-08-25 23:15:58 | [Mutex] received everything.

2022-08-25 23:15:58 | [Mutex] isItemNotified: user_regular6el04q0203@test-domain.com:message:received:content_ibd3az0208 :: false

2022-08-25 23:15:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ibd3az0208 :: true