<commit_before>package de.ifcore.metis.client.it;

import java.io.IOException;
import java.util.Properties;

import org.junit.BeforeClass;

public abstract class AbstractClientTest
{
	protected static String USER;
	protected static String PASSWORD;

	@BeforeClass
	public static void setProperties() throws IOException
	{
		if (System.getProperty("metis.user") != null)
		{
			USER = System.getProperty("metis.user");
			PASSWORD = System.getProperty("metis.pass");
		}
		else
		{
			Properties prop = new Properties();
			prop.load(AbstractClientTest.class.getClassLoader().getResourceAsStream("metis.properties"));
			USER = prop.getProperty("metis.user");
			PASSWORD = prop.getProperty("metis.pass");
			if ("true".equals(prop.getProperty("jaxws.dump")))
			{
				System.setProperty("com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump", "true");
			}
		}
	}
}<commit_msg>trace soap requests even in special cases<commit_after>package de.ifcore.metis.client.it;

import java.io.IOException;
import java.util.Properties;

import org.junit.BeforeClass;

public abstract class AbstractClientTest
{
	protected static String USER;
	protected static String PASSWORD;

	@BeforeClass
	public static void setProperties() throws IOException
	{
		if (System.getProperty("metis.user") != null)
		{
			USER = System.getProperty("metis.user");
			PASSWORD = System.getProperty("metis.pass");
		}
		else
		{
			Properties prop = new Properties();
			prop.load(AbstractClientTest.class.getClassLoader().getResourceAsStream("metis.properties"));
			USER = prop.getProperty("metis.user");
			PASSWORD = prop.getProperty("metis.pass");
			if ("true".equals(prop.getProperty("jaxws.dump")))
			{
				System.setProperty("com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump", "true");
				System.setProperty("com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump", "true");
				System.setProperty("com.sun.xml.ws.transport.http.HttpAdapter.dump", "true");
				System.setProperty("com.sun.xml.internal.ws.transport.http.HttpAdapter.dump", "true");
			}
		}
	}
}
{'fraction_non_alphanumeric': 0.14217098943323728, 'fraction_numerical': 0.0, 'mean_word_length': 4.802228412256268, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 5}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6441900', 'n_tokens_mistral': 705, 'n_tokens_neox': 652, 'n_words': 108}