public static NVPair[] nvs(Map<Object, Object> nvpairMap) {
		NVPair[] result = new NVPair[nvpairMap.size()];
		int i = 0;
		for (Entry<Object, Object> each : nvpairMap.entrySet()) {
			result[i++] = new NVPair(each.getKey().toString(), each.getValue().toString());
		}
		return result;
	}
Convert nvpair map to array. With this user can create NVPair array using
following code.


<code>
import static net.ngrinder.util.GrinderUtil.*
...
request1.POST("http://www.google.com", nvs(["key1":"value1", "key2":"value2"]))
</code>

@param nvpairMap map of the
@return converted array
ngrinder-runtime/src/main/java/net/grinder/util/GrinderUtils.java